mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
test removing client-side logic in headless (base pack scripts/components)
This commit is contained in:
parent
fc80feeb84
commit
2afadb4ae6
6 changed files with 26 additions and 25 deletions
|
|
@ -80,7 +80,7 @@ function on_physics_update(delta)
|
|||
local front = mat4.mul(rot, {0, 0, -1})
|
||||
local pos = tsf:get_pos()
|
||||
|
||||
if hud and pid == hud.get_player() then
|
||||
if not VC_HEADLESS and pid == hud.get_player() then
|
||||
process_player_inputs(pid, rot, delta)
|
||||
end
|
||||
mob.look_at(vec3.add(pos, front))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue