summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2014-07-06 20:22:27 +0200
committerWuzzy <almikes@aol.com>2014-07-06 20:22:27 +0200
commit8309b61769a09eeed1f81681c22845c4a959b094 (patch)
treee9dd8e17406606bc507c9438057ffe225dbcd0d1 /init.lua
parentc796ef78768d44709e13b60dedd361c44ff41208 (diff)
Remove playereffects.hudids
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua6
1 files changed, 0 insertions, 6 deletions
diff --git a/init.lua b/init.lua
index 5c93942..82f768f 100644
--- a/init.lua
+++ b/init.lua
@@ -15,11 +15,6 @@ playereffects.effects = {}
Effects become inactive if a player leaves an become active again if they join again. ]]
playereffects.inactive_effects = {}
---[[ table (indexed by player names) containing tables containing the active HUD IDs for players
- Example: { ["Player 1"] = {1,2,3}, ["Player 2"] = {2}, ["Player 3"] = {} }
-]]
-playereffects.hudids = {}
-
-- Variable for counting the effect_id
playereffects.last_effect_id = 0
@@ -155,7 +150,6 @@ minetest.register_on_leaveplayer(function(player)
local effects = playereffects.get_player_effects(playername)
playereffects.hud_clear(player)
- playereffects.hudids[playername] = nil
if(playereffects.inactive_effects[playername] == nil) then
playereffects.inactive_effects[playername] = {}