Merge pull request #20030 from MrStonedOne/erroinchargeoflights

Removes unneeded lighting checks.
This commit is contained in:
Cheridan
2016-08-23 10:35:44 -05:00
committed by GitHub
5 changed files with 0 additions and 13 deletions
@@ -36,9 +36,6 @@
SetLuminosity(0)
/obj/item/device/flashlight/attack_self(mob/user)
if(!isturf(user.loc))
user << "<span class='warning'>You cannot turn the light on while in this [user.loc]!</span>" //To prevent some lighting anomalities.
return 0
on = !on
update_brightness(user)
for(var/X in actions)