Skip to content

Commit

Permalink
ui: update buildmenu on loading save
Browse files Browse the repository at this point in the history
  • Loading branch information
dalerank committed Jan 23, 2025
1 parent bc0197d commit 0813e95
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
1 change: 1 addition & 0 deletions src/io/gamestate/boilerplate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ static void post_load() {

case e_session_save:
tutorial_init(/*clear_all*/false, false);
building_menu_setup_mission();
break;

case e_session_custom_map:
Expand Down
8 changes: 0 additions & 8 deletions src/scripts/missions.js
Original file line number Diff line number Diff line change
Expand Up @@ -362,14 +362,6 @@ var mission9 = { // Abu
choice_title : [144, 22],

resources : [
{resource: RESOURCE_POTTERY, allowed:true},
{resource: RESOURCE_GEMS, allowed:true},
{resource: RESOURCE_LUXURY_GOODS, allowed:true},
{resource: RESOURCE_BEER, allowed:true},
{resource: RESOURCE_LINEN, allowed:true},
{resource: RESOURCE_PAPYRUS, allowed:true},
{resource: RESOURCE_BRICKS, allowed:true},
{resource: RESOURCE_STRAW, allowed:true},
],

buildings : [BUILDING_SMALL_STATUE, BUILDING_MEDIUM_STATUE, BUILDING_LARGE_STATUE, BUILDING_GARDENS, BUILDING_PLAZA,
Expand Down

0 comments on commit 0813e95

Please sign in to comment.