Compare commits
No commits in common. "5d956ffac311e6ce907340c11f59a562dbbe21fc" and "90a5f374960cc699590cb0a67a78db017f80d3bf" have entirely different histories.
5d956ffac3
...
90a5f37496
2 changed files with 1 additions and 15 deletions
|
@ -1 +1 @@
|
||||||
Subproject commit eb881181cc54c3dac444cfa91fa63baf1557d02f
|
Subproject commit c6fd7bedd4a68806397ee31a810b236d85307379
|
|
@ -165,23 +165,9 @@ minetest.register_globalstep(function(dtime)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
ctf_match.register_on_new_match(function()
|
ctf_match.register_on_new_match(function()
|
||||||
for coward, info in pairs(potential_cowards) do
|
|
||||||
coward = minetest.get_player_by_name(coward)
|
|
||||||
|
|
||||||
if coward and info.hud then
|
|
||||||
coward:hud_remove(info.hud)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
potential_cowards = {}
|
potential_cowards = {}
|
||||||
end)
|
end)
|
||||||
|
|
||||||
ctf.register_on_new_game(function()
|
ctf.register_on_new_game(function()
|
||||||
for coward, info in pairs(potential_cowards) do
|
|
||||||
coward = minetest.get_player_by_name(coward)
|
|
||||||
|
|
||||||
if coward and info.hud then
|
|
||||||
coward:hud_remove(info.hud)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
potential_cowards = {}
|
potential_cowards = {}
|
||||||
end)
|
end)
|
||||||
|
|
Loading…
Reference in a new issue