summaryrefslogtreecommitdiff
path: root/console_cmds.c
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2006-08-15 14:52:17 +0000
committerrubidium <rubidium@openttd.org>2006-08-15 14:52:17 +0000
commitdc54e608e36145deab60dea2cbe08517b28e54c0 (patch)
tree4d695e9efdc4542d90feba482d6d00bd948be0d3 /console_cmds.c
parent672ee1bf3a553c25d446944e8a08131fdf7ceabe (diff)
downloadopenttd-dc54e608e36145deab60dea2cbe08517b28e54c0.tar.xz
(svn r5915) -Cleanup: some variables were named *_date while they were only holding years; rename these variables to match this.
Diffstat (limited to 'console_cmds.c')
-rw-r--r--console_cmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/console_cmds.c b/console_cmds.c
index ed8ba8d0a..ff3504d8b 100644
--- a/console_cmds.c
+++ b/console_cmds.c
@@ -1541,8 +1541,8 @@ void IConsoleStdLibRegister(void)
IConsoleVarHookAdd("autoclean_protected", ICONSOLE_HOOK_ACCESS, ConHookServerOnly);
IConsoleVarRegister("autoclean_unprotected", &_network_autoclean_unprotected, ICONSOLE_VAR_BYTE, "Automatically shut down inactive companies after the given amount of months");
IConsoleVarHookAdd("autoclean_unprotected", ICONSOLE_HOOK_ACCESS, ConHookServerOnly);
- IConsoleVarRegister("restart_game_date", &_network_restart_game_date, ICONSOLE_VAR_UINT16, "Auto-restart the server when Jan 1st of the set year is reached. Use '0' to disable this");
- IConsoleVarHookAdd("restart_game_date", ICONSOLE_HOOK_ACCESS, ConHookServerOnly);
+ IConsoleVarRegister("restart_game_year", &_network_restart_game_year, ICONSOLE_VAR_UINT16, "Auto-restart the server when Jan 1st of the set year is reached. Use '0' to disable this");
+ IConsoleVarHookAdd("restart_game_year", ICONSOLE_HOOK_ACCESS, ConHookServerOnly);
#endif /* ENABLE_NETWORK */