Fix randomizer seed generation and activation

This commit is contained in:
Luke Street
2026-08-21 11:15:10 -06:00
parent 932c3aaba7
commit 2cee0db91f
3 changed files with 14 additions and 5 deletions
+1 -3
View File
@@ -112,9 +112,7 @@ void event_remove_trade_item(ModContext*, const FlowEventContext* event, void*)
std::vector<uint8_t> encoded_text(const std::string& text) {
std::vector<uint8_t> result{text.begin(), text.end()};
if (result.empty() || result.back() != 0) {
result.push_back(0);
}
result.push_back(0);
return result;
}