Added Setting that prompts compiling upon startup

This commit is contained in:
Maruno17
2023-10-01 18:52:48 +01:00
parent cd32b5e725
commit a6c7e2c1ff
4 changed files with 15 additions and 1 deletions

View File

@@ -25,6 +25,12 @@ end
def mainFunctionDebug
begin
MessageTypes.load_default_messages if FileTest.exist?("Data/messages_core.dat")
if $DEBUG && !FileTest.exist?("Game.rgssad") && Settings::PROMPT_TO_COMPILE
pbSetResizeFactor(1) # Needed to make the message look good
if pbConfirmMessage("\\ts[]" + "Do you want to compile your data and plugins?")
$full_compile = true
end
end
PluginManager.runPlugins
Compiler.main
Game.initialize