MacOS don't try to load 'record' or 'replay'

This commit is contained in:
2024-07-29 16:04:30 -05:00
committed by Celtic Minstrel
parent 10ad8dc9da
commit 4d0806a9cf

View File

@@ -14,6 +14,7 @@
#include "fileio/fileio.hpp"
#include "boe.global.hpp"
#include "dialogxml/dialogs/choicedlog.hpp"
#include "replay.hpp"
extern void finish_load_party();
extern void end_startup();
@@ -53,6 +54,10 @@ void set_up_apple_events() {
std::string fileName;
std::copy(msg.get(), msg.get() + len, std::inserter(fileName, fileName.begin()));
if(replaying || recording){
return FALSE;
}
if(!load_party(fileName, univ))
return FALSE;