WIP Interplanetary Accelerator animation

This commit is contained in:
Anuken
2025-01-28 21:30:38 -05:00
parent 22538840a1
commit 6c31853c11
11 changed files with 292 additions and 173 deletions

View File

@@ -1287,7 +1287,7 @@ public class PlanetDialog extends BaseDialog implements PlanetInterfaceRenderer{
Runnable doLaunch = () -> {
renderer.showLaunch(core);
//run with less delay, as the loading animation is delayed by several frames
Time.runTask(core.landDuration() - 8f, () -> control.playSector(from, sector));
Time.runTask(core.launchDuration() - 8f, () -> control.playSector(from, sector));
};
//load launchFrom sector right before launching so animation is correct