Skip to content

Commit

Permalink
fix: Captains and CM not healing (loop from 1) (#351)
Browse files Browse the repository at this point in the history
Changed the loop start index from 1 to 0 in the apothecary_simple function to include all units in the healing check.
  • Loading branch information
EttyKitty authored Dec 28, 2024
1 parent 463b4ca commit 9db0ff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/scr_apothecary_ground/scr_apothecary_ground.gml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function apothecary_simple(){
obj_controller.marines=0;
marines-=1;
for(company=0;company<11;company++){
for (v=1;v<500;v++){
for (v=0;v<500;v++){
key_val = "";
if (obj_ini.name[company][v]=="") then continue;
unit = fetch_unit([company, v]);
Expand Down

0 comments on commit 9db0ff7

Please sign in to comment.