diff options
-rw-r--r-- | Game/Code/Menu/UMenu.pas | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/Game/Code/Menu/UMenu.pas b/Game/Code/Menu/UMenu.pas index 81c96516..1ed91087 100644 --- a/Game/Code/Menu/UMenu.pas +++ b/Game/Code/Menu/UMenu.pas @@ -846,13 +846,6 @@ begin // change interaction as long as it's needed
repeat
Int := (Int + 1) Mod Length(Interactions);
-
- //If no Interaction is Selectable Simply Select Next
- if (Int = Interaction) then
- begin
- Int := (Int + 1) Mod Length(Interactions);
- Break;
- end;
Until IsSelectable(Int);
//Set Interaction
@@ -869,15 +862,8 @@ begin // change interaction as long as it's needed
repeat
Int := Int - 1;
- if Int = -1 then Int := High(Interactions);
-
- //If no Interaction is Selectable Simply Select Next
- if (Int = Interaction) then
- begin
- Int := SelInteraction - 1;
- if Int = -1 then Int := High(Interactions);
- Break;
- end;
+ if Int = -1 then
+ Int := High(Interactions);
Until IsSelectable(Int);
//Set Interaction
|