Dont overwrite int/vw data on char switch

This commit is contained in:
Vortrex
2020-12-31 01:23:50 -06:00
parent 453307aa6f
commit 0a2647e6d3

View File

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