summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a67a6bd)
raw | patch | inline | side by side (parent: a67a6bd)
author | Stas'M <x86corez@gmail.com> | |
Fri, 26 Jul 2019 16:44:16 +0000 (19:44 +0300) | ||
committer | Stas'M <x86corez@gmail.com> | |
Fri, 26 Jul 2019 16:44:16 +0000 (19:44 +0300) |
src/game/g_console.pas | patch | blob | history |
diff --git a/src/game/g_console.pas b/src/game/g_console.pas
index 7bb1a8c7377a5e8f6ef2ad72e23fb856149f6ecd..35f86b6ec63b27cdc9408d4e36bd84416cc111c2 100644 (file)
--- a/src/game/g_console.pas
+++ b/src/game/g_console.pas
if (Length(gInputBinds[i].down) > 0) or (Length(gInputBinds[i].up) > 0) then
begin
Write(f, 'bind ', e_KeyNames[i], ' ', QuoteStr(GetCommandString(gInputBinds[i].down)));
+ if Length(gInputBinds[i].down) = 0 then
+ Write(f, '""');
if Length(gInputBinds[i].up) > 0 then
Write(f, ' ', QuoteStr(GetCommandString(gInputBinds[i].up)));
WriteLn(f, '');