Skip to content

Commit

Permalink
[archtec_playerdata] Fix key removal not working
Browse files Browse the repository at this point in the history
  • Loading branch information
Niklp09 committed Jan 25, 2025
1 parent ef5666c commit f2607a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions archtec_playerdata/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ local function run_actions()
for _, key in ipairs(system.keys_remove) do
if data[name][key] then
data[name][key] = nil
data[name].system_data_modified = true
stats.keys_remove[key] = (stats.keys_remove[key] or 0) + 1
log_debug("run_actions", "removed key '" .. key .. "' of player '" .. name .. "'")
end
Expand Down

0 comments on commit f2607a7

Please sign in to comment.