fitxers room convertits
This commit is contained in:
@@ -130,9 +130,9 @@ auto RoomLoader::loadYAML(const std::string& file_path, bool verbose) -> Room::D
|
||||
room.item_color2 = "magenta";
|
||||
}
|
||||
|
||||
// Conveyor belt direction (puede ser int o string "left"/"none"/"right")
|
||||
if (room_node.contains("autoSurface")) {
|
||||
room.conveyor_belt_direction = convertAutoSurface(room_node["autoSurface"]);
|
||||
// Dirección de la cinta transportadora (left/none/right)
|
||||
if (room_node.contains("conveyorBelt")) {
|
||||
room.conveyor_belt_direction = convertAutoSurface(room_node["conveyorBelt"]);
|
||||
} else {
|
||||
room.conveyor_belt_direction = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user