Skip to content

Commit f425cd8

Browse files
fix: Save new formations and rename (#570)
1 parent f433c42 commit f425cd8

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

scripts/scr_load_controller/scr_load_controller.gml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,8 @@ function scr_load_controller(save_id){
183183
obj_controller.bat_rhin_for=return_json_from_ini("Formation","rhin",array_create(17,6));
184184
obj_controller.bat_pred_for=return_json_from_ini("Formation","pred",array_create(17,7));
185185
obj_controller.bat_landraid_for=return_json_from_ini("Formation","landraid",array_create(17,7));
186-
obj_controller.bat_landspee_for=return_json_from_ini("Formation","landspee",array_create(17,4));
187-
obj_controller.bat_whirl_for=return_json_from_ini("Formation","whirl",array_create(17,1));
186+
obj_controller.bat_landspee_for=return_json_from_ini("Formation","landspee",array_create(17,4));
187+
obj_controller.bat_whirl_for=return_json_from_ini("Formation","whirl",array_create(17,1));
188188
obj_controller.bat_scou_for=return_json_from_ini("Formation","scou",array_create(17,1));
189189

190190

scripts/scr_save_controller/scr_save_controller.gml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,9 @@ function scr_save_controller(save_id){
145145
ini_encode_and_json("Formation", "drea",obj_controller.bat_drea_for);
146146
ini_encode_and_json("Formation", "rhin",obj_controller.bat_rhin_for);
147147
ini_encode_and_json("Formation", "pred",obj_controller.bat_pred_for);
148-
ini_encode_and_json("Formation", "land",obj_controller.bat_land_for);
148+
ini_encode_and_json("Formation", "landraid",obj_controller.bat_landraid_for);
149+
ini_encode_and_json("Formation", "landspee",obj_controller.bat_landspee_for);
150+
ini_encode_and_json("Formation", "whirl",obj_controller.bat_whirl_for);
149151
ini_encode_and_json("Formation", "scou",obj_controller.bat_scou_for);
150152

151153

0 commit comments

Comments
 (0)