summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/town_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp
index 0e7f0a2a9..d78fec5da 100644
--- a/src/town_cmd.cpp
+++ b/src/town_cmd.cpp
@@ -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 {