mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 15:08:02 +01:00
Returns Colour Vision when you Unequip Noir Glasses
Fixes a bug where taking off noir glasses while noir mode was on didn't give you your colour vision back.
This commit is contained in:
@@ -257,6 +257,9 @@
|
||||
if(noir_mode)
|
||||
if(color_view && user.client && !user.client.color)
|
||||
animate(user.client, color = color_view, time = 10)
|
||||
else
|
||||
if(user.client && user.client.color)
|
||||
animate(usr.client, color = null, time = 10)
|
||||
..(user, slot)
|
||||
|
||||
/obj/item/clothing/glasses/sunglasses/noir/dropped(mob/living/carbon/human/user)
|
||||
|
||||
Reference in New Issue
Block a user