Fix crash when leaving the editor if the arena had no custom celestial vault (introduced with 05db5a)
This commit is contained in:
parent
d0af793ae0
commit
fc9b8eb7df
@ -166,7 +166,7 @@ function arena_lib.quit_editor(player)
|
||||
player:set_pos(pos)
|
||||
|
||||
-- ripristino volta celeste
|
||||
if next(arena.celestial_vault) then
|
||||
if arena.celestial_vault then
|
||||
player:set_sky(celvault.sky)
|
||||
player:set_sun(celvault.sun)
|
||||
player:set_moon(celvault.moon)
|
||||
|
Loading…
x
Reference in New Issue
Block a user