mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 04:27:35 +01:00
- fixed the desklamp toggle-self mob selection error
- ghosts can no longer toggle desk lamps git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3158 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -183,9 +183,10 @@
|
||||
icon_off = "green0"
|
||||
desc = "A green-shaded desk lamp"
|
||||
|
||||
/obj/item/device/flashlight/lamp/verb/toggle_light(mob/user)
|
||||
/obj/item/device/flashlight/lamp/verb/toggle_light()
|
||||
set name = "Toggle light"
|
||||
set category = "Object"
|
||||
set src in oview(1)
|
||||
|
||||
attack_self(user)
|
||||
if(!user.stat)
|
||||
attack_self(user)
|
||||
Reference in New Issue
Block a user