Fixing another bug
This commit is contained in:
+1
-1
@@ -154,7 +154,7 @@
|
||||
<define name="DARK_MODE_WINDOW"/>
|
||||
|
||||
<!-- Temporary define. Remove all instances of alphabet testing when finished. -->
|
||||
<define name="ALPHABET_TESTING"/>
|
||||
<!-- <define name="ALPHABET_TESTING"/> -->
|
||||
|
||||
<haxedef name="VIDEO_CUTSCENES" if="VIDEO_CUTSCENES" />
|
||||
<haxedef name="UPDATE_CHECKING" if="UPDATE_CHECKING" />
|
||||
|
||||
@@ -47,8 +47,9 @@ class ModsFolder {
|
||||
*/
|
||||
public static function init() {
|
||||
if(!getModsList().contains(Options.lastLoadedMod)) {
|
||||
if(Options.lastLoadedMod != null)
|
||||
Logs.warn("Mod \"" + Options.lastLoadedMod + "\" not found in mods list, switching to base game!");
|
||||
Options.lastLoadedMod = null;
|
||||
Logs.warn("Mod not found in mods list, switching to base game!");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ using StringTools;
|
||||
class BuildInfo {
|
||||
public static function printBuildInfo() {
|
||||
if(haxe.macro.Context.defined("display")) return;
|
||||
var haxeVersion = haxe.macro.Context.definedValue("haxe");
|
||||
var haxeVersion = haxe.macro.Context.definedValue("haxe").trim();
|
||||
Sys.println('[ BUILD INFO ]');
|
||||
Sys.println('Haxe Version: ${haxeVersion}');
|
||||
try {
|
||||
@@ -20,7 +20,7 @@ class BuildInfo {
|
||||
var options = sys.io.File.getContent(exportPath);
|
||||
for(option in options.split("\n")) {
|
||||
if(option.startsWith("haxe=")) {
|
||||
lastBuiltWith = option.substr(5);
|
||||
lastBuiltWith = option.substr(5).trim();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user