Slight adjustment to script error message

This commit is contained in:
MysterD 2022-04-16 22:50:23 -07:00
parent 12ea360360
commit 21dc525a75

View file

@ -17,7 +17,7 @@ void smlua_mod_error(void) {
if (mod == NULL) { mod = gLuaLastHookMod; }
if (mod == NULL) { return; }
char txt[255] = { 0 };
snprintf(txt, 254, "%s has lua script errors!", mod->name);
snprintf(txt, 254, "'%s' has script errors!", mod->name);
djui_lua_error(txt);
}