mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Merge branch 'sam/possess-fix' into 'master'
Fix possession for animation work purposes. See merge request veloren/veloren!3142
This commit is contained in:
commit
ac42b184f5
@ -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