[Bug]Health not synced if away

Started by habi, May 24, 2023, 03:15 PM

Previous topic - Next topic

habi

Description
If one player is away and a new player connects/stream in, the former's health will  appear 100 to the latter.

Reproducible
Connect and spawn one player in windowed mode. Set his health to 50. Press Ctrl+D (for desktop). The first player is now away. Now connect second player (different name). Spawn and look at the health bar of first player.

What you were doing when the bug happened
connecting multiple players and wondering why the health of one of my player appears to be zero.

What you think caused the bug
Server not sending details of health, armour and weapon to client on player stream in.