Fix initial weapon damage state not being set
This commit is contained in:
@@ -252,6 +252,7 @@ class ClientData {
|
|||||||
this.keyBinds = [];
|
this.keyBinds = [];
|
||||||
this.connectionId = 0;
|
this.connectionId = 0;
|
||||||
this.incomingDamageMultiplier = 1;
|
this.incomingDamageMultiplier = 1;
|
||||||
|
this.weaponDamageEvent = VRR_WEAPON_DAMAGE_EVENT_NORMAL;
|
||||||
|
|
||||||
this.currentAnimation = -1;
|
this.currentAnimation = -1;
|
||||||
this.currentAnimationPositionOffset = false;
|
this.currentAnimationPositionOffset = false;
|
||||||
@@ -261,6 +262,8 @@ class ClientData {
|
|||||||
|
|
||||||
this.passwordResetState = VRR_RESETPASS_STATE_NONE;
|
this.passwordResetState = VRR_RESETPASS_STATE_NONE;
|
||||||
this.passwordResetCode = "";
|
this.passwordResetCode = "";
|
||||||
|
|
||||||
|
this.lastJobVehicle = null;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -428,7 +431,6 @@ class SubAccountData {
|
|||||||
this.clanTitle = 0;
|
this.clanTitle = 0;
|
||||||
this.isWorking = false;
|
this.isWorking = false;
|
||||||
this.jobUniform = this.skin;
|
this.jobUniform = this.skin;
|
||||||
this.lastJobVehicle = null;
|
|
||||||
this.job = 0;
|
this.job = 0;
|
||||||
this.jobRank = 0;
|
this.jobRank = 0;
|
||||||
this.weapons = [];
|
this.weapons = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user