Browse Source

minor fix

ncannasse 10 years ago
parent
commit
5a772eccc4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      hxd/App.hx

+ 1 - 0
hxd/App.hx

@@ -25,6 +25,7 @@ class App {
 
 	function setup() {
 		engine.onResized = function() {
+			if( s2d == null ) return; // if disposed
 			s2d.checkResize();
 			onResize();
 		};