mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-03-30 13:20:13 +00:00
make screen prompts not static so it recreates it every loop in case language changes
This commit is contained in:
parent
bdb6ccfa4f
commit
fde9c49193
@ -5,15 +5,17 @@ namespace QSB.ShipSync;
|
||||
|
||||
public class ShipCustomAttach : MonoBehaviour
|
||||
{
|
||||
private static readonly ScreenPrompt _attachPrompt = new(
|
||||
private readonly ScreenPrompt _attachPrompt = new(
|
||||
InputLibrary.interactSecondary,
|
||||
InputLibrary.interact,
|
||||
QSBLocalization.Current.AttachToShip + " <CMD>",
|
||||
ScreenPrompt.MultiCommandType.HOLD_ONE_AND_PRESS_2ND);
|
||||
ScreenPrompt.MultiCommandType.HOLD_ONE_AND_PRESS_2ND
|
||||
);
|
||||
|
||||
private static readonly ScreenPrompt _detachPrompt = new(
|
||||
private readonly ScreenPrompt _detachPrompt = new(
|
||||
InputLibrary.cancel,
|
||||
QSBLocalization.Current.DetachFromShip + " <CMD>");
|
||||
QSBLocalization.Current.DetachFromShip + " <CMD>"
|
||||
);
|
||||
|
||||
private PlayerAttachPoint _playerAttachPoint;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user