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