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
-2
View File
@@ -319,8 +319,6 @@ obj/item/weapon/gun/proc/newshot()
return
var/mob/living/carbon/human/user = usr
if(!isturf(user.loc))
user << "<span class='warning'>You cannot turn the light on while in this [user.loc]!</span>"
F.on = !F.on
user << "<span class='notice'>You toggle the gunlight [F.on ? "on":"off"].</span>"