Fixes drone light toggle while dead

This commit is contained in:
kingofkosmos
2017-09-06 12:35:58 +03:00
committed by CitadelStationBot
parent c55ac69e4a
commit f4dbb6dc36
@@ -15,6 +15,12 @@
/mob/living/simple_animal/drone/verb/toggle_light()
set category = "Drone"
set name = "Toggle drone light"
<<<<<<< HEAD
=======
if(stat == DEAD)
to_chat(src, "<span class='warning'>There's no light in your life... by that I mean you're dead.</span>")
return
>>>>>>> a2511ab... Makes things worse for someone who's already having a difficult time.
if(light_on)
set_light(0)
else