From 42388976d746f3859e05251939dd44e96fe111d9 Mon Sep 17 00:00:00 2001 From: Sam Date: Sun, 12 Mar 2023 16:37:02 -0400 Subject: [PATCH] Fixed issue with max health change over time buff being reset if re-applied. Addressed review comments. --- common/src/comp/buff.rs | 37 +++++++++++++----------- common/systems/src/buff.rs | 8 +++-- server/src/events/entity_manipulation.rs | 4 +-- voxygen/src/scene/particle.rs | 2 +- 4 files changed, 28 insertions(+), 23 deletions(-) diff --git a/common/src/comp/buff.rs b/common/src/comp/buff.rs index 36ea5e15bc..7c190082a5 100644 --- a/common/src/comp/buff.rs +++ b/common/src/comp/buff.rs @@ -424,7 +424,9 @@ fn compare_end_time(a: Option