mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Merge branch 'sam/buff-fix-test' into 'master'
Fif Buff Emission See merge request veloren/veloren!1910
This commit is contained in:
@ -47,6 +47,7 @@ impl<'a> System<'a> for Sys {
|
|||||||
let dt = read_data.dt.0;
|
let dt = read_data.dt.0;
|
||||||
|
|
||||||
auras.set_event_emission(false);
|
auras.set_event_emission(false);
|
||||||
|
buffs.set_event_emission(false);
|
||||||
|
|
||||||
// Iterate through all buffs, on any buffs that are from an aura, sets the check
|
// Iterate through all buffs, on any buffs that are from an aura, sets the check
|
||||||
// for whether the buff recently set by aura to false
|
// for whether the buff recently set by aura to false
|
||||||
@ -184,5 +185,6 @@ impl<'a> System<'a> for Sys {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
auras.set_event_emission(true);
|
auras.set_event_emission(true);
|
||||||
|
buffs.set_event_emission(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user