mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 04:26:03 +01:00
Adds breaks to some loops in case there is more than one pod.
Shouldn't happen, but Murphy's law.
This commit is contained in:
@@ -130,8 +130,10 @@ obj/structure/ex_act(severity)
|
||||
if(ismob(AM))
|
||||
var/mob/M = AM
|
||||
M.Weaken(5)
|
||||
|
||||
else
|
||||
close_animation()
|
||||
break
|
||||
|
||||
|
||||
/obj/structure/transit_tube/station/attackby(obj/item/W, mob/user)
|
||||
@@ -145,6 +147,7 @@ obj/structure/ex_act(severity)
|
||||
GM.Weaken(5)
|
||||
src.Bumped(GM)
|
||||
del(G)
|
||||
break
|
||||
|
||||
/obj/structure/transit_tube/station/proc/open_animation()
|
||||
if(icon_state == "closed")
|
||||
|
||||
Reference in New Issue
Block a user