Adjusted weather. Hopefully fixed trees for real this time, so far so good.
This commit is contained in:
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user