mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fix possession for animation work purposes.
This commit is contained in:
parent
3bee4ef0d1
commit
e6bef416b4
@ -223,6 +223,11 @@ impl NetSync for Combo {
|
||||
}
|
||||
|
||||
impl NetSync for ActiveAbilities {
|
||||
// When in debug, sync from all entities. This allows animation work to be done
|
||||
// when possessing entities
|
||||
#[cfg(debug_assertions)]
|
||||
const SYNC_FROM: SyncFrom = SyncFrom::AnyEntity;
|
||||
#[cfg(not(debug_assertions))]
|
||||
const SYNC_FROM: SyncFrom = SyncFrom::ClientEntity;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user