Fix requested things

This commit is contained in:
Aronai Sieyes
2021-06-17 23:52:39 -04:00
parent aa46434c51
commit 05fc5d3758
21 changed files with 32 additions and 18 deletions
+1 -1
View File
@@ -78,7 +78,7 @@
if(light_system != STATIC_LIGHT)
CRASH("update_light() for [src] with following light_system value: [light_system]")
if (!light_power || !light_range || !light_on) // We won't emit light anyways, destroy the light source.
if (!light_on || !light_power || !light_range) // We won't emit light anyways, destroy the light source.
QDEL_NULL(light)
else
if (!ismovable(loc)) // We choose what atom should be the top atom of the light here.