# HG changeset patch # User unc0rr # Date 1349251469 -14400 # Node ID 1518827049edc69a39458ab96e2945da2cf8dfa0 # Parent 2b1ad418ba39ae9112c33a9caa6c8bd5e0242d4a No commit message diff -r 2b1ad418ba39 -r 1518827049ed hedgewars/uChat.pas --- a/hedgewars/uChat.pas Mon Oct 01 12:01:39 2012 +0400 +++ b/hedgewars/uChat.pas Wed Oct 03 12:04:29 2012 +0400 @@ -376,6 +376,7 @@ else begin // err, does anyone have any documentation on this sequence? + // ^^ isn't it obvious? 27 is esc, 32 is space, inbetween is "/team" KeyPressChat(27); KeyPressChat(47); KeyPressChat(116); diff -r 2b1ad418ba39 -r 1518827049ed hedgewars/uCommandHandlers.pas --- a/hedgewars/uCommandHandlers.pas Mon Oct 01 12:01:39 2012 +0400 +++ b/hedgewars/uCommandHandlers.pas Wed Oct 03 12:04:29 2012 +0400 @@ -71,12 +71,12 @@ begin s:= s; // avoid compiler hint if GameState = gsConfirm then - begin + begin SendIPC(_S'Q'); GameState:= gsExit - end -else - ParseCommand('chat team', true); + end + else + ParseCommand('chat team', true); end; procedure chHalt (var s: shortstring);