mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fix panic when interrupting rolls just before ending on slower clients
This commit is contained in:
parent
3c846d4d17
commit
0296ee1a2c
@ -1238,7 +1238,8 @@ impl CharacterAbility {
|
||||
}
|
||||
} else {
|
||||
0.0
|
||||
};
|
||||
}
|
||||
.max(0.0);
|
||||
CharacterAbility::Roll {
|
||||
energy_cost: 10.85,
|
||||
// Remaining recover flows into buildup
|
||||
|
Loading…
Reference in New Issue
Block a user