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:
crabman 2024-03-23 00:21:35 +00:00
commit 3d3bc74d75

View File

@ -1238,7 +1238,8 @@ impl CharacterAbility {
}
} else {
0.0
};
}
.max(0.0);
CharacterAbility::Roll {
energy_cost: 10.85,
// Remaining recover flows into buildup