diff --git a/src/pc/lua/smlua.c b/src/pc/lua/smlua.c index 0d1e535f..564f18b2 100644 --- a/src/pc/lua/smlua.c +++ b/src/pc/lua/smlua.c @@ -22,7 +22,7 @@ void smlua_mod_error(void) { if (mod == NULL) { mod = gLuaLastHookMod; } if (mod == NULL) { return; } char txt[255] = { 0 }; - snprintf(txt, 254, "'%s' has script errors!", mod->name); + snprintf(txt, 254, "'%s\\#ff0000\\' has script errors!", mod->name); djui_lua_error(txt); }