Adds type checks to HUD alert clicks to prevent ghosts from causing runtimes (#31609)
* Update alert.dm * better fix
This commit is contained in:
committed by
CitadelStationBot
parent
02fcc06eb1
commit
0aa2e6b6a2
@@ -356,6 +356,9 @@
|
||||
else
|
||||
M.LAssailant = usr
|
||||
|
||||
/mob/proc/can_resist()
|
||||
return FALSE //overridden in living.dm
|
||||
|
||||
/mob/proc/spin(spintime, speed)
|
||||
set waitfor = 0
|
||||
var/D = dir
|
||||
|
||||
Reference in New Issue
Block a user