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

@@ -177,6 +177,7 @@ end)
Event.add(Selection.events.on_player_selection_start, function(event)
if event.selection ~= SelectionProtectEntity and event.selection ~= SelectionProtectArea then return end
local player = game.players[event.player_index]
-- Intentionally left as player.surface to allow use in remote view
local surface = player.surface
renders[player.index] = {}
-- Show protected entities