mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix: player not spawning entity after set_suspended(pid, false)
This commit is contained in:
parent
d9a914ee54
commit
088bfc878e
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ void Players::suspend(int64_t id) {
|
|||
}
|
||||
player->setSuspended(true);
|
||||
level.entities->despawn(player->getEntity());
|
||||
player->setEntity(0);
|
||||
player->setEntity(ENTITY_AUTO);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue