mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Cleaned up UI code. Removed stuff added for testing. Added 10% for melee attacks to inflict a bleeding debuff. Renamed BuffId to BuffKind. Fixed memory leak. Set event emission to false when timer is decremented.
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
use crate::{
|
||||
comp::{inventory::slot::Slot, BuffId},
|
||||
comp::{inventory::slot::Slot, BuffKind},
|
||||
sync::Uid,
|
||||
util::Dir,
|
||||
};
|
||||
@ -41,7 +41,7 @@ pub enum ControlEvent {
|
||||
Unmount,
|
||||
InventoryManip(InventoryManip),
|
||||
GroupManip(GroupManip),
|
||||
RemoveBuff(BuffId),
|
||||
RemoveBuff(BuffKind),
|
||||
Respawn,
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user