mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 07:03:16 +00:00
fix tether
This commit is contained in:
parent
ca0ab2edfe
commit
3f25eeca78
1 changed files with 2 additions and 0 deletions
|
@ -422,6 +422,8 @@ function player_fns.deserialize_position(message, player_data)
|
||||||
if player_data == nil or not EntityGetIsAlive(player_data.entity) then
|
if player_data == nil or not EntityGetIsAlive(player_data.entity) then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
player_data.pos_x = x
|
||||||
|
player_data.pos_y = y
|
||||||
local entity = player_data.entity
|
local entity = player_data.entity
|
||||||
local character_data = EntityGetFirstComponentIncludingDisabled(entity, "CharacterDataComponent")
|
local character_data = EntityGetFirstComponentIncludingDisabled(entity, "CharacterDataComponent")
|
||||||
local velocity_comp = EntityGetFirstComponentIncludingDisabled(entity, "VelocityComponent")
|
local velocity_comp = EntityGetFirstComponentIncludingDisabled(entity, "VelocityComponent")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue