Initialize 0

This commit is contained in:
tong 2020-07-06 23:44:04 +02:00
parent 313bbbfa84
commit 1f0a27bae0

View file

@ -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;