CRASHFIX: players touching enemies' rays before the start made the game crash
This commit is contained in:
parent
299ea685b9
commit
75246fdb58
@ -44,6 +44,8 @@ minetest.register_globalstep(function(dtime)
|
||||
local p_nodename = get_node(player:get_pos()).name
|
||||
local arena = get_arena_by_player(pl_name)
|
||||
|
||||
if arena.in_loading then return end
|
||||
|
||||
if p_nodename == "block_league:rays_blue" or p_nodename == "block_league:rays_orange" then
|
||||
local p_data = arena.players[pl_name]
|
||||
local p_team = p_data.teamID
|
||||
|
Loading…
x
Reference in New Issue
Block a user