Skip to content

Commit da9676b

Browse files
Fixed save game and pause screen bug
Fixed bug where game would crash when trying to save due to wizard and mercenary no longer being objects in the save function. Fixed bug where game would crash when pressing P on pause screen.
1 parent 299cb50 commit da9676b

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

Turn-Based-RPG/rooms/rm_start/rm_start.yy

Lines changed: 3 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Turn-Based-RPG/scripts/Save/Save.gml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function Save(){
2222
// y: obj_mercenary.y,
2323
// current_room: room,
2424
// }
25-
//array_push(party_member_objects, player, cool, mercenary);
25+
array_push(party_member_objects, player);
2626

2727
party_info = [] // Stores player party information as an array of party member structs
2828
array_push(party_info, ds_list_size(global.party));

0 commit comments

Comments
 (0)