Quick fix for player physical position

This commit is contained in:
Cooldude2606 committed 2024-11-19 22:35:41 +00:00
1 parent 90d0a122cd
commit 34a7879761
31 files changed
+82 -41

No files matched your search

@@ -129,6 +129,7 @@ end)
Event.on_nth_tick(60, function()
for _, player in pairs(game.connected_players) do
local frame = Gui.get_left_element(player, production_container)
-- Intentionally left as player.surface to allow use in remote view
local stat = player.force.get_item_production_statistics(player.surface)
local precision_value = precision[frame.container["production_st"].disp.table["production_0_e"].selected_index]
local table = frame.container["production_st"].disp.table