--- 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);
--- 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);