mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
[MIRROR] Fixes feysight runtime (#9738)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
committed by
GitHub
parent
96bb37377b
commit
0e7296d925
@@ -13,12 +13,14 @@
|
||||
/datum/modifier/feysight/on_applied()
|
||||
holder.see_invisible = 60
|
||||
holder.see_invisible_default = 60
|
||||
holder.plane_holder.set_vis(VIS_GHOSTS,TRUE)
|
||||
holder.vis_enabled += VIS_GHOSTS
|
||||
holder.recalculate_vis()
|
||||
|
||||
/datum/modifier/feysight/on_expire()
|
||||
holder.see_invisible_default = initial(holder.see_invisible_default)
|
||||
holder.see_invisible = holder.see_invisible_default
|
||||
holder.plane_holder.set_vis(VIS_GHOSTS,FALSE)
|
||||
holder.vis_enabled -= VIS_GHOSTS
|
||||
holder.recalculate_vis()
|
||||
|
||||
/datum/modifier/feysight/can_apply(var/mob/living/L)
|
||||
if(L.stat)
|
||||
|
||||
Reference in New Issue
Block a user