summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFernando Carmona Varo <ferkiwi@gmail.com>2015-10-23 19:46:25 +0200
committerFernando Carmona Varo <ferkiwi@gmail.com>2015-10-23 19:46:25 +0200
commit6b949da2c7610c55f2bb83c693520b9e77a9aebc (patch)
tree588b60f44a097665f4457e1d1d276b816ee99edb
parent79e8160a87a87101bb11e338f0d4cdbff3405436 (diff)
Fix hud not updating after first game
-rwxr-xr-xhud.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/hud.lua b/hud.lua
index 00f015d..791e422 100755
--- a/hud.lua
+++ b/hud.lua
@@ -38,5 +38,6 @@ function mypacman.remove_hud(player, playername)
local hud = hud_table[name]
if hud then
player:hud_remove(hud)
+ hud_table[name] = nil
end
end