mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
Merge pull request #20030 from MrStonedOne/erroinchargeoflights
Removes unneeded lighting checks.
This commit is contained in:
@@ -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>"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user