Move ESC/quit game

This commit is contained in:
nastys
2019-07-07 16:58:22 +02:00
parent 80bca80033
commit 4b77b9bfde
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;
}