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

View File

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