Showcase build reset help messages on tutorial launch
This commit is contained in:
@@ -3776,6 +3776,10 @@ void start_new_game(bool force) {
|
||||
void start_tutorial() {
|
||||
std::string version_flag = get_feature_version("tutorial");
|
||||
if(!version_flag.empty()){
|
||||
#ifdef SHOWCASE
|
||||
clear_pref("ReceivedHelp");
|
||||
#endif
|
||||
|
||||
if(party_in_memory){
|
||||
cChoiceDlog confirm("restart-game",{"okay","cancel"});
|
||||
confirm->getControl("warning").replaceText("{{action}}", "Starting the tutorial");
|
||||
|
@@ -1,6 +1,8 @@
|
||||
|
||||
#include <SFML/Graphics.hpp>
|
||||
|
||||
#define SHOWCASE 1
|
||||
|
||||
#ifdef __APPLE__
|
||||
extern eMenuChoice menuChoice;
|
||||
extern short menuChoiceId;
|
||||
|
Reference in New Issue
Block a user