summaryrefslogtreecommitdiff
path: root/tools/mapjson/mapjson.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/mapjson/mapjson.cpp')
-rw-r--r--tools/mapjson/mapjson.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mapjson/mapjson.cpp b/tools/mapjson/mapjson.cpp
index 41d8b01f8..0302ee61a 100644
--- a/tools/mapjson/mapjson.cpp
+++ b/tools/mapjson/mapjson.cpp
@@ -317,7 +317,7 @@ string generate_firered_map_events_text(Json map_data) {
<< coord_event["y"].int_value() << ", "
<< coord_event["elevation"].int_value() << ", 0, "
<< coord_event["var"].string_value() << ", "
- << coord_event["var_value"].int_value() << ", 0, "
+ << coord_event["var_value"].string_value() << ", 0, "
<< coord_event["script"].string_value() << "\n";
}
else if (coord_event["type"] == "weather") {