From a2ef50ed290a66725e1c6556f7517dbd8b5d8c1e Mon Sep 17 00:00:00 2001 From: Albert Iordache Date: Tue, 10 Jul 2012 22:14:08 +0300 Subject: [PATCH] Fixed bug where helmet lights would not turn off when placed in backpacks and updated changelog --- code/game/objects/devices/flashlight.dm | 4 ++-- html/changelog.html | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/code/game/objects/devices/flashlight.dm b/code/game/objects/devices/flashlight.dm index 316663a5be7..616dd5203c8 100644 --- a/code/game/objects/devices/flashlight.dm +++ b/code/game/objects/devices/flashlight.dm @@ -183,8 +183,8 @@ /obj/item/clothing/head/helmet/space/rig/dropped(mob/user) if(on) - user.ul_SetLuminosity(user.LuminosityRed + brightness_on, user.LuminosityGreen + (brightness_on - 1), user.LuminosityBlue) - ul_SetLuminosity(brightness_on, brightness_on-1, 0) + user.ul_SetLuminosity(user.LuminosityRed - brightness_on, user.LuminosityGreen - (brightness_on - 1), user.LuminosityBlue) + ul_SetLuminosity(brightness_on, brightness_on - 1, 0) // the desk lamps are a bit special /obj/item/device/flashlight/lamp diff --git a/html/changelog.html b/html/changelog.html index a061e28babb..6031de7b8ba 100644 --- a/html/changelog.html +++ b/html/changelog.html @@ -58,6 +58,22 @@ should be listed in the changelog upon commit though. Thanks. --> +
+

10 July 2012

+

Abi79 updated:

+ + +

CIB updated:

+ +
+

9 July 2012

CIB updated: