Move ESC/quit game

This commit is contained in:
nastys
2019-07-07 16:58:22 +02:00
parent b2494f72f9
commit 1b07823190
2 changed files with 3 additions and 5 deletions
@@ -288,6 +288,9 @@ namespace TLAC::Components
if (keyboard->IsIntervalTapped(VK_SPACE))
inputKey = 0x20;
if (keyboard->IsIntervalTapped(VK_ESCAPE))
exit(0);
return inputKey;
}