mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 23:58:07 +01:00
Fixes a bug I introduced into starlight (#22316)
Sorry, didn't test enough after some changes.
This commit is contained in:
@@ -261,6 +261,7 @@
|
||||
|
||||
var/old_lumcount = lighting_lumcount - initial(lighting_lumcount)
|
||||
var/oldbaseturf = baseturf
|
||||
var/old_starlight = starlight
|
||||
|
||||
var/list/our_lights //reset affecting_lights if needed
|
||||
if(opacity != initial(path:opacity) && old_lumcount)
|
||||
@@ -274,7 +275,8 @@
|
||||
affecting_lights = our_lights
|
||||
|
||||
lighting_changed = 1 //Don't add ourself to SSlighting.changed_turfs
|
||||
update_lumcount(old_lumcount)
|
||||
update_lumcount(old_lumcount, LIGHTING_REGULAR)
|
||||
starlight = old_starlight
|
||||
baseturf = oldbaseturf
|
||||
lighting_object = locate() in src
|
||||
|
||||
|
||||
Reference in New Issue
Block a user