mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
log line on error in gfx_set_command
This commit is contained in:
parent
ced949627f
commit
50f83b1ffe
1 changed files with 2 additions and 2 deletions
|
|
@ -1195,13 +1195,13 @@ int smlua_func_gfx_set_command(lua_State* L) {
|
|||
|
||||
Gfx* gfx = smlua_to_cobject(L, 1, LOT_GFX);
|
||||
if (!gSmLuaConvertSuccess || !gfx) {
|
||||
LOG_LUA("gfx_set_command: Failed to convert parameter %u", 1);
|
||||
LOG_LUA_LINE("gfx_set_command: Failed to convert parameter %u", 1);
|
||||
return 0;
|
||||
}
|
||||
|
||||
const char *command = smlua_to_string(L, 2);
|
||||
if (!gSmLuaConvertSuccess) {
|
||||
LOG_LUA("gfx_set_command: Failed to convert parameter %u", 2);
|
||||
LOG_LUA_LINE("gfx_set_command: Failed to convert parameter %u", 2);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue