mes canvis de merda

This commit is contained in:
2026-04-07 21:38:23 +02:00
parent f3b113c95e
commit 0760dfc739
8 changed files with 51 additions and 30 deletions

View File

@@ -70,9 +70,7 @@ void RoomLoader::parseRoomConfig(const fkyaml::node& yaml, Room::Data& room, con
room.number = file_name.substr(0, file_name.find_last_of('.'));
// Basic properties
if (room_node.contains("bgColor")) {
room.bg_color = readColorNode(room_node["bgColor"]);
}
// bgColor ya no se lee del YAML; bg_color queda siempre a 0
if (room_node.contains("tileSetFile")) {
room.tile_set_file = room_node["tileSetFile"].get_value<std::string>();
}