mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-09 22:25:46 +01:00
Reduction of number of ul_Illuminate and ul_Extinguish calls. (@Miniature) Also fixed a bug with the SMES room lighting.
This commit is contained in:
@@ -278,9 +278,12 @@ atom/Del()
|
||||
. = ..()
|
||||
|
||||
atom/movable/Move()
|
||||
ul_Extinguish()
|
||||
. = ..()
|
||||
ul_Illuminate()
|
||||
if(LuminosityRed || LuminosityGreen || LuminosityBlue)
|
||||
ul_Extinguish()
|
||||
. = ..()
|
||||
ul_Illuminate()
|
||||
else
|
||||
return ..()
|
||||
|
||||
|
||||
turf/var/list/MaxRed
|
||||
|
||||
Reference in New Issue
Block a user