2
0
Martijn Laan 4 жил өмнө
parent
commit
08c6beb88c

+ 1 - 1
Projects/ScriptFunc_C.pas

@@ -34,7 +34,7 @@ procedure ScriptFuncLibraryRegister_C(ScriptCompiler: TPSPascalCompiler;
 
   procedure RegisterType(const Name, Value: tbtstring);
   begin
-    ScriptCompiler.AddTypes(Name, Value);
+    ScriptCompiler.AddTypeS(Name, Value);
   end;
 
   procedure RegisterFunctionTable(const FunctionTable: array of tbtstring);