Initialize 0
This commit is contained in:
parent
313bbbfa84
commit
1f0a27bae0
|
@ -11,7 +11,7 @@ class Starter {
|
|||
|
||||
public static function main(scene: String, mode: Int, resize: Bool, min: Bool, max: Bool, w: Int, h: Int, msaa: Int, vsync: Bool, getRenderPath: Void->iron.RenderPath) {
|
||||
|
||||
var tasks : Int = null;
|
||||
var tasks = 0;
|
||||
|
||||
function start() {
|
||||
if (tasks > 0) return;
|
||||
|
|
Loading…
Reference in a new issue