diff --git a/data/widgets/starSystem.json b/data/widgets/starSystem.json index d5632b3..dd7b950 100644 --- a/data/widgets/starSystem.json +++ b/data/widgets/starSystem.json @@ -8,5 +8,15 @@ "y" : 635, "w" : 280, "h": 34 + }, + { + "name" : "close", + "group" : "starSystem", + "type" : "WT_BUTTON", + "text" : "X", + "x" : 1060, + "y" : 98, + "w" : 34, + "h": 34 } ] diff --git a/src/galaxy/galacticMap.c b/src/galaxy/galacticMap.c index 51b9b93..5f5e92f 100644 --- a/src/galaxy/galacticMap.c +++ b/src/galaxy/galacticMap.c @@ -129,6 +129,7 @@ void initGalacticMap(void) initBackground(); + getWidget("close", "starSystem")->action = resume; startMissionButton = getWidget("startMission", "starSystem"); startMissionButton->action = startMission;