haxe compatibility fix for haxe version 4.0.5
This commit is contained in:
parent
b1412b4eb2
commit
25e14db0ff
@ -51,11 +51,11 @@ class Main{
|
||||
}
|
||||
|
||||
// Look at switch contents
|
||||
if (_switches.contains("-v")) {
|
||||
if (_switches.indexOf("-v") > -1) {
|
||||
Sys.println('version: ${haxe.macro.Compiler.getDefine("version")}');
|
||||
return;
|
||||
}
|
||||
if (_switches.contains("-t")) {
|
||||
if (_switches.indexOf("-t") > -1) {
|
||||
SWITCHMODE_TURBO = true;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user