fix crashing bug introduced by 135e1b5
parent
b9d9a10758
commit
f35a63d525
2
init.lua
2
init.lua
|
@ -108,7 +108,7 @@ end)
|
|||
|
||||
minetest.register_on_respawnplayer(function(player)
|
||||
local name = player:get_player_name()
|
||||
if flying_saucer.storage[name].physics then
|
||||
if flying_saucer.storage[name] and flying_saucer.storage[name].physics then
|
||||
deactivate_flying_saucer(player, name)
|
||||
end
|
||||
end)
|
||||
|
|
Loading…
Reference in New Issue