Update LightsFactory.cpp

This commit is contained in:
MegaMech
2024-03-12 16:27:32 -06:00
committed by Lywx
parent 5c86446913
commit a17f07ff73
+2 -2
View File
@@ -12,7 +12,7 @@ void LightsHeaderExporter::Export(std::ostream &write, std::shared_ptr<IParsedDa
return;
}
write << "extern Lights " << symbol << ";\n";
write << "extern Lights1 " << symbol << ";\n";
}
void LightsCodeExporter::Export(std::ostream &write, std::shared_ptr<IParsedData> raw, std::string& entryName, YAML::Node &node, std::string* replacement ) {
@@ -100,4 +100,4 @@ std::optional<std::shared_ptr<IParsedData>> LightsFactory::parse(std::vector<uin
lights = {r, g, b, 0, 0, 0, 0, 0, r2, g2, b2, 0, 0, 0, 0, 0, x, y, z};
return std::make_shared<LightsData>(lights);
}
}