mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-08 22:33:24 +00:00
Tweak recalculation of mass
This commit is contained in:
@@ -889,8 +889,9 @@ export default class Ship {
|
||||
}
|
||||
}
|
||||
|
||||
this.recalculateMass();
|
||||
if (!preventUpdate) {
|
||||
// Must recalculate mass first, as movement, jump etc. relies on it
|
||||
this.recalculateMass();
|
||||
if (dpsChanged) {
|
||||
this.recalculateDps();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user