mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-22 12:05:11 +00:00
Fix colored mod names leaking into script error message
This commit is contained in:
parent
aa11ddd45d
commit
9cbf364113
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue