aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Screens/UScreenPartyPlayer.pas
diff options
context:
space:
mode:
Diffstat (limited to 'Game/Code/Screens/UScreenPartyPlayer.pas')
-rw-r--r--Game/Code/Screens/UScreenPartyPlayer.pas6
1 files changed, 4 insertions, 2 deletions
diff --git a/Game/Code/Screens/UScreenPartyPlayer.pas b/Game/Code/Screens/UScreenPartyPlayer.pas
index d46fb2b6..8897de0a 100644
--- a/Game/Code/Screens/UScreenPartyPlayer.pas
+++ b/Game/Code/Screens/UScreenPartyPlayer.pas
@@ -56,10 +56,12 @@ var
end;
begin
Result := true;
- If (PressedDown) Then
+ if (PressedDown) then
SDL_ModState := SDL_GetModState and (KMOD_LSHIFT + KMOD_RSHIFT
- + KMOD_LCTRL + KMOD_RCTRL + KMOD_LALT + KMOD_RALT);
+ + KMOD_LCTRL + KMOD_RCTRL + KMOD_LALT + KMOD_RALT)
+ else
+ SDL_ModState := 0;
begin // Key Down
case PressedKey of