mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-17 03:25:14 -04:00
Allow pressing Pause to open pause menu (Thanks Tree)
This commit is contained in:
parent
5204f73a76
commit
b5c5daa4e3
@ -241,7 +241,7 @@ namespace ClassicalSharp {
|
||||
} else {
|
||||
CycleDistanceForwards(viewDists);
|
||||
}
|
||||
} else if (key == Keys[KeyBind.PauseOrExit] && game.World.blocks != null) {
|
||||
} else if ((key == Keys[KeyBind.PauseOrExit] || key == Key.Pause) && game.World.blocks != null) {
|
||||
game.Gui.SetNewScreen(new PauseScreen(game));
|
||||
} else if (game.Mode.HandlesKeyDown(key)) {
|
||||
} else if (key == Keys[KeyBind.IDOverlay]) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user