src/console_cmds.cpp
changeset 8761 afcf3b687a3e
parent 8760 ce0891c412ce
child 8766 c86cfa3a7580
equal deleted inserted replaced
8760:ce0891c412ce 8761:afcf3b687a3e
  1650 	IConsoleVarHookAdd("restart_game_year",      ICONSOLE_HOOK_ACCESS, ConHookServerOnly);
  1650 	IConsoleVarHookAdd("restart_game_year",      ICONSOLE_HOOK_ACCESS, ConHookServerOnly);
  1651 
  1651 
  1652 	IConsoleVarRegister("min_players",           &_network_min_players, ICONSOLE_VAR_BYTE, "Automatically pause the game when the number of active players passes below the given amount");
  1652 	IConsoleVarRegister("min_players",           &_network_min_players, ICONSOLE_VAR_BYTE, "Automatically pause the game when the number of active players passes below the given amount");
  1653 	IConsoleVarHookAdd("min_players",            ICONSOLE_HOOK_ACCESS, ConHookServerOnly);
  1653 	IConsoleVarHookAdd("min_players",            ICONSOLE_HOOK_ACCESS, ConHookServerOnly);
  1654 	IConsoleVarHookAdd("min_players",            ICONSOLE_HOOK_POST_ACTION, ConHookCheckMinPlayers);
  1654 	IConsoleVarHookAdd("min_players",            ICONSOLE_HOOK_POST_ACTION, ConHookCheckMinPlayers);
       
  1655 	IConsoleVarRegister("reload_cfg",            &_network_reload_cfg, ICONSOLE_VAR_BOOLEAN, "reload the entire config file between the end of this game, and starting the next new game - dedicated servers");
       
  1656 	IConsoleVarHookAdd("reload_cfg",             ICONSOLE_HOOK_ACCESS, ConHookServerOnly);
  1655 
  1657 
  1656 #endif /* ENABLE_NETWORK */
  1658 #endif /* ENABLE_NETWORK */
  1657 
  1659 
  1658 	// debugging stuff
  1660 	// debugging stuff
  1659 #ifdef _DEBUG
  1661 #ifdef _DEBUG