diff --git a/code/modules/power/lighting.dm b/code/modules/power/lighting.dm index a3e497cb959..3c46a653a3a 100644 --- a/code/modules/power/lighting.dm +++ b/code/modules/power/lighting.dm @@ -302,7 +302,7 @@ // attempt to insert light else if(istype(W, /obj/item/weapon/light)) - if(status != LIGHT_EMPTY) + if(status == LIGHT_OK) user << "There is a [fitting] already inserted!" else src.add_fingerprint(user) @@ -310,8 +310,14 @@ if(istype(L, light_type)) if(!user.drop_item()) return + + src.add_fingerprint(user) + if(status != LIGHT_EMPTY) + drop_light_tube(user) + user << "You replace [L]." + else + user << "You insert [L]." status = L.status - user << "You insert the [L.name]." switchcount = L.switchcount rigged = L.rigged brightness = L.brightness