mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fix possess bug, remove commented code, drain controller events
This commit is contained in:
@ -366,7 +366,7 @@ impl<'a> System<'a> for Sys {
|
||||
}
|
||||
|
||||
// Process controller events
|
||||
for event in std::mem::replace(&mut controller.events, Vec::new()) {
|
||||
for event in controller.events.drain(..) {
|
||||
match event {
|
||||
ControlEvent::Mount(mountee_uid) => {
|
||||
if let Some(mountee_entity) =
|
||||
|
Reference in New Issue
Block a user