Files
Bubberstation/code/modules/mapping/map_template.dm
SkyratBot 170d7f9efe [MIRROR] Forces areas to create their lighting objects when loaded from a map template [MDB IGNORE] (#9614)
* Forces areas to create their lighting objects when loaded from a map template (#62931)

Continues the journey of #61730. This time, all map templates will see their area lighting objects created upon getting loaded if they have static_lighting = TRUE. This means that places like Hilbert's hotel, as well as any map placed by an admin during the round, will now be able to properly have dynamic lights without any need for VV shenanigans.

Tested and working, I tested with Hilbert's hotel and by spawning a couple of other map templates to confirm.

Fixes #61558, closes #61340 (kinda not, but it's already fixed anyway, and loosely related to this) and should be the final nail in the coffin of #61349.

Courtesy ping to @ TiviPlus, just in case you had anything to say about it.

* Forces areas to create their lighting objects when loaded from a map template

Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
2021-11-22 16:31:37 +00:00

6.2 KiB