Adjusted weather. Hopefully fixed trees for real this time, so far so good.

This commit is contained in:
Storm Dragon
2026-01-20 16:54:03 -05:00
parent 1be438a870
commit 5c25ba9a19
5 changed files with 225 additions and 57 deletions

View File

@@ -291,6 +291,7 @@ void reset_game_state() {
void start_new_game() {
reset_game_state();
spawn_trees(5, 19);
normalize_tree_positions();
init_barricade();
init_time();
init_weather();
@@ -966,6 +967,7 @@ bool load_game_state() {
tree.regen_timer.restart();
trees.insert_last(tree);
}
normalize_tree_positions();
string[] snareData = get_string_list_or_split(saveData, "snares_data");
for (uint i = 0; i < snareData.length(); i++) {