summaryrefslogtreecommitdiff
path: root/console_cmds.c
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2005-05-17 16:07:48 +0000
committerDarkvater <Darkvater@openttd.org>2005-05-17 16:07:48 +0000
commit5fc05c681a398a65430d2d191f0fcf3dee9383ea (patch)
treeefcb05b249ff430eac804d30c6de32425edb026e /console_cmds.c
parent3965366b9779425b060b16ee5a46a9c820645943 (diff)
downloadopenttd-5fc05c681a398a65430d2d191f0fcf3dee9383ea.tar.xz
(svn r2338) - CodeChange: only call the variable hooks when you set their value not when you query them
- Fix: typo in pool.c "Cleaing up" --> "Cleaning up"
Diffstat (limited to 'console_cmds.c')
-rw-r--r--console_cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/console_cmds.c b/console_cmds.c
index 3b2159142..d10c36ebf 100644
--- a/console_cmds.c
+++ b/console_cmds.c
@@ -1115,7 +1115,7 @@ DEF_CONSOLE_HOOK(ConHookServerName)
DEF_CONSOLE_HOOK(ConHookServerAdvertise)
{
- if (!_network_advertise)
+ if (!_network_advertise) // remove us from advertising
NetworkUDPRemoveAdvertise();
return true;