update on_physics_update & update standard components

This commit is contained in:
MihailRis
2025-09-13 23:24:57 +03:00
parent 2d29b8c46c
commit bf682daffe
9 changed files with 12 additions and 29 deletions
+1 -2
View File
@@ -51,8 +51,7 @@ local function process_player_inputs(pid, delta)
end
end
function on_physics_update(tps)
local delta = (1.0 / tps)
function on_physics_update(delta)
local pid = entity:get_player()
if pid ~= -1 then
local pos = tsf:get_pos()