Fixed third person animations over network

This commit is contained in:
2016-03-09 18:01:32 +01:00
parent 3ea1177425
commit 0b58f32f32
2 changed files with 2 additions and 14 deletions
@@ -293,10 +293,8 @@ private:
firstPersonWeapon = SpawnerSystem::Spawn(firstPersonAttachment, firstPersonAttachment);
}
}
if (IsServer) {
if (thirdPersonAttachment.Valid()) {
thirdPersonWeapon = SpawnerSystem::Spawn(thirdPersonAttachment, thirdPersonAttachment);
}
if (thirdPersonAttachment.Valid()) {
thirdPersonWeapon = SpawnerSystem::Spawn(thirdPersonAttachment, thirdPersonAttachment);
}
WeaponInfo& wi = m_ActiveWeapons[player];