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

Method StartServer_MenuKey

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

Source from the content-addressed store, hash-verified

2780 }
2781
2782 private static String StartServer_MenuKey(int key) {
2783 if (key == K_ESCAPE) {
2784 if (mapnames != null) {
2785 int i;
2786
2787 for (i = 0; i < nummaps; i++)
2788 mapnames[i] = null;
2789
2790 }
2791 mapnames = null;
2792 nummaps = 0;
2793 }
2794
2795 return Default_MenuKey(s_startserver_menu, key);
2796 }
2797
2798 private static Command startServer_MenuDraw = (List<String> args) -> StartServer_MenuDraw();
2799 private static keyfunc_t startServer_MenuKey = new keyfunc_t() {

Callers 1

executeMethod · 0.95

Calls 1

Default_MenuKeyMethod · 0.95

Tested by

no test coverage detected