mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-15 09:03:53 +01:00
Fixes feysight runtime (#16794)
This commit is contained in:
@@ -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