let's play the optimization game featuring lighting (#12310)
* debug proc * kinda quirky * let's play the lighting game * let's play the macro game * let's play the refactor game * let's play the optimization game * let's play the optimization game x2 * yeehaw * e * let's play the memory game * fix * lighting fix * sanitization and checks * mh * hotkeys fix * ok
This commit is contained in:
@@ -80,7 +80,10 @@ GLOBAL_LIST_INIT(blacklisted_automated_baseturfs, typecacheof(list(
|
||||
var/old_dynamic_lighting = dynamic_lighting
|
||||
var/old_affecting_lights = affecting_lights
|
||||
var/old_lighting_object = lighting_object
|
||||
var/old_corners = corners
|
||||
var/old_lc_topright = lc_topright
|
||||
var/old_lc_topleft = lc_topleft
|
||||
var/old_lc_bottomright = lc_bottomright
|
||||
var/old_lc_bottomleft = lc_bottomleft
|
||||
|
||||
var/old_exl = explosion_level
|
||||
var/old_exi = explosion_id
|
||||
@@ -119,7 +122,10 @@ GLOBAL_LIST_INIT(blacklisted_automated_baseturfs, typecacheof(list(
|
||||
recalc_atom_opacity()
|
||||
lighting_object = old_lighting_object
|
||||
affecting_lights = old_affecting_lights
|
||||
corners = old_corners
|
||||
lc_topright = old_lc_topright
|
||||
lc_topleft = old_lc_topleft
|
||||
lc_bottomright = old_lc_bottomright
|
||||
lc_bottomleft = old_lc_bottomleft
|
||||
if (old_opacity != opacity || dynamic_lighting != old_dynamic_lighting)
|
||||
reconsider_lights()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user