Explorar o código

[CONFIGURATOR] Delete assert when there is an error not in editor.

clandrin %!s(int64=4) %!d(string=hai) anos
pai
achega
a5f8293d74
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  1. 1 3
      hrt/prefab/rfx/Configurator.hx

+ 1 - 3
hrt/prefab/rfx/Configurator.hx

@@ -185,9 +185,7 @@ class Configurator extends RendererFX {
 					errorMessage = Std.string(e);
 				}
 			if( errorMessage != null ) {
-				#if !editor
-				throw errorMessage;
-				#else
+				#if editor
 				if( errorTarget != null ) errorTarget.text(errorMessage);
 				#end
 			} else {