summaryrefslogtreecommitdiff
path: root/src/company_cmd.cpp
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2011-12-21 12:25:10 +0000
committertruebrain <truebrain@openttd.org>2011-12-21 12:25:10 +0000
commitda8777d4e590f2c4414453d88c306c57f964326d (patch)
tree262247e7c77001d5bd49d3b799c1776f7b7b2c23 /src/company_cmd.cpp
parent0f8360eee9b43a1ff4be7e86d2e92cb3240d62ae (diff)
downloadopenttd-da8777d4e590f2c4414453d88c306c57f964326d.tar.xz
(svn r23646) -Fix [FS#4901]: rescan the Game Scripts when done downloading one.
Diffstat (limited to 'src/company_cmd.cpp')
-rw-r--r--src/company_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/company_cmd.cpp b/src/company_cmd.cpp
index d4627078f..db0200a34 100644
--- a/src/company_cmd.cpp
+++ b/src/company_cmd.cpp
@@ -695,7 +695,7 @@ void OnTick_Companies()
}
if (_next_competitor_start == 0) {
- _next_competitor_start = AI::GetStartNextTime() * DAY_TICKS;
+ _next_competitor_start = 1; //AI::GetStartNextTime() * DAY_TICKS;
}
if (AI::CanStartNew() && _game_mode != GM_MENU && --_next_competitor_start == 0) {