MCPcopy Create free account
hub / github.com/demoth/jake2 / SaveGame_MenuKey

Method SaveGame_MenuKey

client/src/main/java/jake2/client/Menu.java:2245–2252  ·  view source on GitHub ↗
(int key)

Source from the content-addressed store, hash-verified

2243 }
2244
2245 private static String SaveGame_MenuKey(int key) {
2246 if (key == K_ENTER || key == K_ESCAPE) {
2247 s_loadgame_menu.cursor = s_savegame_menu.cursor - 1;
2248 if (s_loadgame_menu.cursor < 0)
2249 s_loadgame_menu.cursor = 0;
2250 }
2251 return Default_MenuKey(s_savegame_menu, key);
2252 }
2253
2254 private static void Menu_SaveGame_f() {
2255 if (Globals.server_state == ServerStates.SS_DEAD)

Callers 1

executeMethod · 0.95

Calls 1

Default_MenuKeyMethod · 0.95

Tested by

no test coverage detected