move gate def register call to main

This commit is contained in:
Redo 2022-11-10 00:20:58 -06:00
parent e7a1db923a
commit 2da9148e27
2 changed files with 1 additions and 2 deletions

View File

@ -12,6 +12,7 @@ exec("./brickdata.cs");
exec("./cmds.cs");
schedule(0, 0, lualogic_loadprintsandcolors);
schedule(0, 0, lualogic_registerAllGateDefinitions);
package LuaLogic
{

View File

@ -56,8 +56,6 @@ function lualogic_registerAllGateDefinitions(){
}
}
schedule(1, 0, lualogic_registerAllGateDefinitions);
function lualogic_print(%text)
{
echo("LuaLogic -> ", %text);