default weights to 1

This commit is contained in:
David Markowitz
2026-06-19 18:49:42 -07:00
parent 3942a58bc2
commit 9c351f2e65

View File

@@ -137,6 +137,7 @@ void Zone::LoadZoneIntoMemory() {
node->weight = GeneralUtils::TryParse(data->GetValueAsString(), 1);
if (node->weight <= 0) {
LOG("Found a spawner with a weight of <= 0, is this intentional? %s:%i", info.name.c_str(), node->nodeID);
node->weight = 1;
}
}
}