forked from mirror/OpenTTD
(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"
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user