We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07feb8d commit 7d92be0Copy full SHA for 7d92be0
1 file changed
src/MAP.cpp
@@ -298,9 +298,6 @@ nlohmann::ordered_json MapFile::to_json()
298
{
299
for (auto i = 0; i < 6; i++)
300
301
- // ignore empty entires
302
- if(entry.doors->modelId[i] == 255)
303
- continue;
304
json["door"][i]["model_id"] = entry.doors->modelId[i];
305
json["door"][i]["position"]["x"] = entry.doors->posX[i];
306
json["door"][i]["position"]["y"] = entry.doors->posY[i];
0 commit comments