Fixed an annoying bug with giving another player a flashlight,

opened up at least 100 individual bugs where people kept setting
loc and expecting light updates to catch it.

Conflicts:
	baystation12.dme
This commit is contained in:
Aryn
2014-03-18 21:57:15 -06:00
committed by ZomgPonies
parent 5da65951e8
commit cff01f9df6
10 changed files with 104 additions and 105 deletions
@@ -89,13 +89,13 @@
/obj/item/device/flashlight/pickup(mob/user)
if(on)
if(on && luminosity)
user.SetLuminosity(user.luminosity + brightness_on)
SetLuminosity(0)
/obj/item/device/flashlight/dropped(mob/user)
if(on)
if(on && !luminosity)
user.SetLuminosity(user.luminosity - brightness_on)
SetLuminosity(brightness_on)