Skip to content

Commit

Permalink
Fix scenario editor writing to wrong key
Browse files Browse the repository at this point in the history
(cherry-picked from commit dd4f80f)
  • Loading branch information
CelticMinstrel committed Oct 7, 2018
1 parent 79e6e57 commit 1071fc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/editor/map/map_context.cpp
Expand Up @@ -477,7 +477,7 @@ config map_context::to_config()

scenario["experience_modifier"] = xp_mod_;
scenario["victory_when_enemies_defeated"] = victory_defeated_;
scenario["random_starting_time"] = random_time_;
scenario["random_start_time"] = random_time_;

scenario.append(tod_manager_->to_config());
scenario.remove_attribute("turn_at");
Expand Down

0 comments on commit 1071fc7

Please sign in to comment.