mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-29 06:58:30 +01:00
Fix light runtimes with helmets
This commit is contained in:
@@ -728,8 +728,8 @@
|
||||
to_chat(H, "<span class='notice'>Your [use_obj.name] [use_obj.gender == PLURAL ? "deploy" : "deploys"] swiftly.</span>")
|
||||
playsound(src, 'sound/machines/rig/rigservo.ogg', 10, FALSE)
|
||||
|
||||
if(piece == "helmet" && helmet)
|
||||
helmet.update_light(H)
|
||||
if(piece == "helmet" && helmet?.light_system == STATIC_LIGHT)
|
||||
helmet.update_light()
|
||||
|
||||
/obj/item/weapon/rig/proc/deploy(mob/M,var/sealed)
|
||||
|
||||
|
||||
@@ -199,7 +199,9 @@
|
||||
helmet.pickup(H)
|
||||
helmet.canremove = 0
|
||||
to_chat(H, "<span class='info'>You deploy your suit helmet, sealing you off from the world.</span>")
|
||||
helmet.update_light(H)
|
||||
|
||||
if(helmet.light_system == STATIC_LIGHT)
|
||||
helmet.update_light()
|
||||
|
||||
/obj/item/clothing/suit/space/void/verb/eject_tank()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user