fixed tutorial and additional stuff
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package funkin.system;
|
||||
|
||||
import funkin.mods.ModsAssetLibrary;
|
||||
import openfl.utils.Assets;
|
||||
import lime.utils.AssetLibrary;
|
||||
|
||||
class AssetsLibraryList extends AssetLibrary {
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package funkin.system;
|
||||
|
||||
import funkin.chart.Chart;
|
||||
import funkin.chart.ChartData;
|
||||
import flixel.math.FlxMath;
|
||||
import openfl.Lib;
|
||||
import flixel.FlxState;
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
package funkin.system;
|
||||
|
||||
import flixel.FlxG;
|
||||
import openfl.utils.Assets;
|
||||
import haxe.io.Path;
|
||||
import funkin.scripting.events.PlayAnimEvent.PlayAnimContext;
|
||||
import funkin.interfaces.IOffsetCompatible;
|
||||
|
||||
@@ -116,6 +116,14 @@ class Main extends Sprite
|
||||
public static var audioDisconnected:Bool = false;
|
||||
|
||||
public static var changeID:Int = 0;
|
||||
public static var pathBack = #if windows
|
||||
"../../../../"
|
||||
#elseif mac
|
||||
"../../../../../../../"
|
||||
#else
|
||||
""
|
||||
#end;
|
||||
public static var startedFromSource:Bool = false;
|
||||
|
||||
|
||||
private static var __threadCycle:Int = 0;
|
||||
@@ -156,15 +164,7 @@ class Main extends Sprite
|
||||
#end
|
||||
|
||||
#if sys
|
||||
if (Sys.args().contains("-livereload")) {
|
||||
var pathBack = #if windows
|
||||
"../../../../"
|
||||
#elseif mac
|
||||
"../../../../../../../"
|
||||
#else
|
||||
""
|
||||
#end;
|
||||
|
||||
if (startedFromSource = Sys.args().contains("-livereload")) {
|
||||
#if USE_SOURCE_ASSETS
|
||||
#if windows
|
||||
trace("Used lime test windows. Switching into source assets.");
|
||||
|
||||
Reference in New Issue
Block a user