Selaa lähdekoodia

locate with subtype

Nicolas Cannasse 6 vuotta sitten
vanhempi
commit
1b6287b2df
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      other/memory/Memory.hx

+ 1 - 1
other/memory/Memory.hx

@@ -574,7 +574,7 @@ class Memory {
 
 		var ctx = new Stats(this);
 		for( b in blocks )
-			if( b.type == lt ) {
+			if( b.type != null && b.type.match(lt) ) {
 				var tl = [];
 				var owner = b.owner;
 				if( owner != null ) {