Treat var_value field as string, not integer
This commit is contained in:
parent
6bc28e7cd5
commit
4dedf73f76
1 changed files with 1 additions and 1 deletions
|
@ -295,7 +295,7 @@ bool Project::loadMapData(Map* map) {
|
|||
coord->put("y", QString::number(event["y"].toInt()));
|
||||
coord->put("elevation", QString::number(event["elevation"].toInt()));
|
||||
coord->put("script_var", event["var"].toString());
|
||||
coord->put("script_var_value", QString::number(event["var_value"].toInt()));
|
||||
coord->put("script_var_value", event["var_value"].toString());
|
||||
coord->put("script_label", event["script"].toString());
|
||||
coord->put("event_group_type", "coord_event_group");
|
||||
map->events["coord_event_group"].append(coord);
|
||||
|
|
Loading…
Reference in a new issue