From 10096db4f3a211311c036b37993dce174988b5ae Mon Sep 17 00:00:00 2001 From: luk3yx Date: Tue, 5 Nov 2019 13:45:33 +1300 Subject: [PATCH] Fix the fallback assert() function. --- sscsm_init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sscsm_init.lua b/sscsm_init.lua index d694dd8..971f86a 100644 --- a/sscsm_init.lua +++ b/sscsm_init.lua @@ -23,7 +23,7 @@ if not rawequal then function rawequal(a, b) return a == b end end if not assert then function assert(value, ...) if value then - return value + return value, ... else error(... or 'assertion failed!', 2) end