Wait for daemon ship settings state
This commit is contained in:
parent
d4688a73b2
commit
0f1e8e38df
2 changed files with 12 additions and 3 deletions
|
|
@ -202,19 +202,16 @@ public class InventoryMenu : MonoBehaviour
|
|||
GameManager.RequestEntityShutdownPerformance(
|
||||
entity,
|
||||
Mathf.Clamp01(entity.Settings.ShutdownPerformance - ShutdownThresholdStep));
|
||||
RenderCurrentShipSettingsSurface(entity);
|
||||
return;
|
||||
case AetheriaRuntimeShipSettingsCommandKind.IncrementShutdownThreshold:
|
||||
GameManager.RequestEntityShutdownPerformance(
|
||||
entity,
|
||||
Mathf.Clamp01(entity.Settings.ShutdownPerformance + ShutdownThresholdStep));
|
||||
RenderCurrentShipSettingsSurface(entity);
|
||||
return;
|
||||
case AetheriaRuntimeShipSettingsCommandKind.ResetShutdownThreshold:
|
||||
GameManager.RequestEntityShutdownPerformance(
|
||||
entity,
|
||||
Mathf.Clamp01(GameManager.Settings.GameplaySettings.DefaultShutdownPerformance));
|
||||
RenderCurrentShipSettingsSurface(entity);
|
||||
return;
|
||||
case AetheriaRuntimeShipSettingsCommandKind.Close:
|
||||
HideCurrentShipSettingsSurface();
|
||||
|
|
|
|||
Loading…
Reference in a new issue