diff --git a/objects/obj_en_fleet/Alarm_11.gml b/objects/obj_en_fleet/Alarm_11.gml index 602c958f15..a93f240b24 100644 --- a/objects/obj_en_fleet/Alarm_11.gml +++ b/objects/obj_en_fleet/Alarm_11.gml @@ -1,6 +1,5 @@ -if (action="") and (orbiting!=0){ - orbiting=instance_nearest(x,y,obj_star); +if (is_orbiting()){ if (owner!=1) then orbiting.present_fleet[owner]+=1; }