austinchambers / multiplayer-vr

A multiplayer VR game
1 stars 2 forks source link

Respawn does not work when 2 players die simultaneously #99

Open damlaren opened 9 years ago

damlaren commented 9 years ago

To test: Run submarine_test map on listen or dedicated server with 2 players, pull close to the other sub, and shoot. The 2nd player does not respawn as a sub, it looks like they spawn as a spectator.

rameshvarun commented 9 years ago

The culprit seems to be this delay. Print String's showed two executions up until that point, where only execution continues beyond that delay.

image

Removing the delay respawns both Subs, but for some reason only the server's sub is properly possessed.

rameshvarun commented 9 years ago

I am also noticing that, for some reason, only the killer will respawn.