spawning shield on server and client
This commit is contained in:
@@ -160,9 +160,8 @@ bool DefenderWeaponBehaviour::OnInputCommand(ComponentWrapper cWeapon, WeaponInf
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (IsServer) {
|
SpawnerSystem::Spawn(attachment, attachment);
|
||||||
SpawnerSystem::Spawn(attachment, attachment);
|
|
||||||
}
|
|
||||||
|
|
||||||
EntityWrapper backAttachment = attachment.FirstChildByName("Back");
|
EntityWrapper backAttachment = attachment.FirstChildByName("Back");
|
||||||
if (backAttachment.Valid()) {
|
if (backAttachment.Valid()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user