Save char int & vw

This commit is contained in:
Vortrex
2020-12-28 12:53:55 -06:00
parent 06b873c395
commit 074d190262

View File

@@ -262,6 +262,8 @@ addNetworkHandler("ag.selectCharacter", selectCharacter);
function switchCharacterCommand(command, params, client) {
getClientCurrentSubAccount(client).spawnPosition = getPlayerPosition(client);
getClientCurrentSubAccount(client).spawnHeading = getPlayerHeading(client);
getClientCurrentSubAccount(client).interior = getPlayerInterior(client);
getClientCurrentSubAccount(client).dimension = getPlayerVirtualWorld(client);
saveSubAccountToDatabase(getClientCurrentSubAccount(client));