mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 03:25:23 +09:00
Quick fix for player physical position
This commit is contained in:
@@ -36,6 +36,7 @@ Commands.new_command("toggle-always-day", { "expcom-cheat.description-day" }, "T
|
||||
:set_flag("admin_only")
|
||||
:add_param("surface", true, "surface")
|
||||
:set_defaults{ surface = function(player)
|
||||
-- Intentionally left as player.surface to allow use in remote view
|
||||
return player.surface
|
||||
end }
|
||||
:register(function(player, surface)
|
||||
|
||||
Reference in New Issue
Block a user