Fix initial weapon damage state not being set

This commit is contained in:
Vortrex
2022-01-17 07:43:15 -06:00
parent 9512f5e889
commit 2706f2967e

View File

@@ -252,6 +252,7 @@ class ClientData {
this.keyBinds = [];
this.connectionId = 0;
this.incomingDamageMultiplier = 1;
this.weaponDamageEvent = VRR_WEAPON_DAMAGE_EVENT_NORMAL;
this.currentAnimation = -1;
this.currentAnimationPositionOffset = false;
@@ -261,6 +262,8 @@ class ClientData {
this.passwordResetState = VRR_RESETPASS_STATE_NONE;
this.passwordResetCode = "";
this.lastJobVehicle = null;
}
};
@@ -428,7 +431,6 @@ class SubAccountData {
this.clanTitle = 0;
this.isWorking = false;
this.jobUniform = this.skin;
this.lastJobVehicle = null;
this.job = 0;
this.jobRank = 0;
this.weapons = [];