summaryrefslogtreecommitdiff
path: root/skin_meta_api.lua
diff options
context:
space:
mode:
Diffstat (limited to 'skin_meta_api.lua')
-rw-r--r--skin_meta_api.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/skin_meta_api.lua b/skin_meta_api.lua
index 1e3bd99..5ff17f1 100644
--- a/skin_meta_api.lua
+++ b/skin_meta_api.lua
@@ -72,5 +72,7 @@ end
function skin_class:is_applicable_for_player(playername)
local assigned_player = self:get_meta("playername")
- return not assigned_player or assigned_player == playername
+ return assigned_player == nil or
+ assigned_player == playername or
+ assigned_player == true
end