Skip to content

Commit c1669d8

Browse files
authored
fix: en_fleet alarm 11 modern orbiting method (#170)
Replace orbiting check with modern method to fix reported bug: https://discord.com/channels/714022226810372107/1310348923482931230
1 parent c86d725 commit c1669d8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

objects/obj_en_fleet/Alarm_11.gml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11

2-
if (action="") and (orbiting!=0){
3-
orbiting=instance_nearest(x,y,obj_star);
2+
if (is_orbiting()){
43
if (owner!=1) then orbiting.present_fleet[owner]+=1;
54
}
65

0 commit comments

Comments
 (0)