Merge branch 'sam/buff-fix-test' into 'master'

Fif Buff Emission

See merge request veloren/veloren!1910
This commit is contained in:
Marcel 2021-03-15 22:46:44 +00:00
commit 39ac300bef

View File

@ -47,6 +47,7 @@ impl<'a> System<'a> for Sys {
let dt = read_data.dt.0;
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
// 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);
buffs.set_event_emission(true);
}
}