Skip to content

Commit

Permalink
fix: Wrong variable name in planet defence battles (Adeptus-Dominus#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
OH296 authored Dec 16, 2024
1 parent 9723f01 commit bf2585d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion objects/obj_ncombat/Alarm_7.gml
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,9 @@ try {

_battle_object.p_player[_planet]-=world_size;

if (defeat=1) then yeehaw1.p_player[_planet]=0;
if (defeat=1){
_battle_object.p_player[_planet]=0;
};
}
obj_controller.combat=0;
with(obj_turn_end){
Expand Down

0 comments on commit bf2585d

Please sign in to comment.