mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-28 22:54:29 +01:00
(svn r12920) -Fix (r12859): town rating was affected even after the test run
This commit is contained in:
@@ -2453,7 +2453,7 @@ void SetTownRatingTestMode(bool mode)
|
||||
static int ref_count = 0;
|
||||
if (mode) {
|
||||
if (ref_count == 0) {
|
||||
_town_test_ratings.empty();
|
||||
_town_test_ratings.clear();
|
||||
}
|
||||
ref_count++;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user