mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-17 17:08:39 +00:00
Force player save before kicking on player shutdown (#8157)
This commit is contained in:
parent
23ea02c79c
commit
70672e1cb7
3 changed files with 4 additions and 3 deletions
|
@ -221,7 +221,7 @@ public:
|
|||
void kickAllPlayers(AccessDeniedCode reason,
|
||||
const std::string &str_reason, bool reconnect);
|
||||
// Save players
|
||||
void saveLoadedPlayers();
|
||||
void saveLoadedPlayers(bool force = false);
|
||||
void savePlayer(RemotePlayer *player);
|
||||
PlayerSAO *loadPlayer(RemotePlayer *player, bool *new_player, session_t peer_id,
|
||||
bool is_singleplayer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue