Add a comment on the item polling

This commit is contained in:
Jean-Patrick Guerrero 2019-02-13 14:32:36 +01:00
parent c62994f9af
commit d6432f53bb
1 changed files with 2 additions and 0 deletions

View File

@ -925,6 +925,8 @@ if progressive_mode then
return filtered
end
-- Workaround. Need an engine call to detect when the contents
-- of the player inventory changed, instead.
mt.register_globalstep(function()
local players = mt.get_connected_players()
for i = 1, #players do