aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
Diffstat (limited to 'builtin')
-rw-r--r--builtin/game/features.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/builtin/game/features.lua b/builtin/game/features.lua
index f082b0db8..a5f17e540 100644
--- a/builtin/game/features.lua
+++ b/builtin/game/features.lua
@@ -12,9 +12,9 @@ core.features = {
function core.has_feature(arg)
if type(arg) == "table" then
- missing_features = {}
- result = true
- for ft, _ in pairs(arg) do
+ local missing_features = {}
+ local result = true
+ for ftr in pairs(arg) do
if not core.features[ftr] then
missing_features[ftr] = true
result = false