Skip to content

Commit cc0b4a5

Browse files
committed
Revert "Revert "Merge pull request #4 from z33ky/mainmenu-spam""
This reverts commit a1fb78c.
1 parent 224b292 commit cc0b4a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blackshades/Source/GameLoop.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ void Game::EventLoop( void )
517517

518518
}
519519

520-
if ( IsKeyDown( theKeyMap, MAC_ESCAPE_KEY )){
520+
if ( !mainmenu && IsKeyDown( theKeyMap, MAC_ESCAPE_KEY )){
521521

522522
float gLoc[3] = {0.0f, 0.0f, 0.0f};
523523
alListenerfv(AL_POSITION, gLoc);

0 commit comments

Comments
 (0)