diff --git a/code/modules/scripting/Implementations/_Logic.dm b/code/modules/scripting/Implementations/_Logic.dm index 571d5a1849b..d4bc9976625 100644 --- a/code/modules/scripting/Implementations/_Logic.dm +++ b/code/modules/scripting/Implementations/_Logic.dm @@ -127,6 +127,7 @@ if(container) if(istype(container, /list) || istext(container)) return length(container) + return 0 // BY DONKIE~ // String stuff diff --git a/code/modules/scripting/Interpreter/Interpreter.dm b/code/modules/scripting/Interpreter/Interpreter.dm index dd33a2c333b..3e179ef59ee 100644 --- a/code/modules/scripting/Interpreter/Interpreter.dm +++ b/code/modules/scripting/Interpreter/Interpreter.dm @@ -33,7 +33,7 @@ status=0 returnVal - max_statements=1000 // maximum amount of statements that can be called in one execution. this is to prevent massive crashes and exploitation + max_statements=900 // maximum amount of statements that can be called in one execution. this is to prevent massive crashes and exploitation cur_statements=0 // current amount of statements called alertadmins=0 // set to 1 if the admins shouldn't be notified of anymore issues max_iterations=100 // max number of uninterrupted loops possible