aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Hop311 <hop3114@gmail.com>2023-04-05 20:00:44 +0200
committer Hop311 <hop3114@gmail.com>2023-04-05 20:00:44 +0200
commit14c2358c7837e644349ea37866607fcd1459d2bc (patch)
tree6769171063472cd90e92393e357f31917c1828b8
parent2d47ff8c02a4ee88270634289381140f8ac1617e (diff)
Accidentally included WIP stuff in previous commit
-rw-r--r--extension/src/openvic2/Map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/extension/src/openvic2/Map.cpp b/extension/src/openvic2/Map.cpp
index 4815dff..542a876 100644
--- a/extension/src/openvic2/Map.cpp
+++ b/extension/src/openvic2/Map.cpp
@@ -23,7 +23,7 @@ Province::colour_t Province::get_colour() const {
}
std::string Province::to_string() const {
- return "(" + std::to_string(index) + ", " + identifier + ", " + colour_to_hex_string(colour) + ")";
+ return "(" + identifier + ", " + colour_to_hex_string(colour) + ")";
}
bool Map::add_province(std::string const& identifier, Province::colour_t colour, std::string& error_message) {