mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 14:08:31 +01:00
Refactor incapacitated optional arguments (#63771)
This commit is contained in:
@@ -636,7 +636,7 @@ GLOBAL_LIST_INIT(transit_tube_recipes, list(
|
||||
|
||||
/obj/item/pipe_dispenser/proc/mouse_wheeled(mob/source, atom/A, delta_x, delta_y, params)
|
||||
SIGNAL_HANDLER
|
||||
if(source.incapacitated(ignore_restraints = TRUE, ignore_stasis = TRUE))
|
||||
if(source.incapacitated(IGNORE_RESTRAINTS|IGNORE_STASIS))
|
||||
return
|
||||
|
||||
if(delta_y < 0)
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
egged = world.time + SNAKE_SPAM_TICKS
|
||||
for(var/mob/living/L in alerted)
|
||||
if(!L.stat)
|
||||
if(!L.incapacitated(ignore_restraints = 1))
|
||||
if(!L.incapacitated(IGNORE_RESTRAINTS))
|
||||
L.face_atom(src)
|
||||
L.do_alert_animation()
|
||||
playsound(loc, 'sound/machines/chime.ogg', 50, FALSE, -5)
|
||||
|
||||
Reference in New Issue
Block a user