-
-
Notifications
You must be signed in to change notification settings - Fork 490
Open
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
Describe the bug
getElementPosition() returns wrong values server side when a player is dead.
To reproduce
- Go to editor
- Use Jetpack, fly into the air
- Use srun getElementPosition(me) -> Notice how your z position is pretty high
- Kill the player
- The player will fall to the earth (Client side Z position ~13.3)
- Server-side getElementPosition(me) will still return the coordinate where the player died
Expected behaviour
getElementPosition() should not return the death position, it should return the current position because it can happen that a dead player moves away from his death position, for example when falling.
bum8hj
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working