don't use optional for debugName

This commit is contained in:
niki
2023-12-14 00:42:19 +01:00
parent 364b5c3b7b
commit c8da517759
9 changed files with 24 additions and 24 deletions
+1 -1
View File
@@ -741,7 +741,7 @@ static void luax_checktexturesettings(lua_State *L, int idx, bool opt, bool chec
lua_getfield(L, idx, Texture::getConstant(Texture::SETTING_DEBUGNAME));
if (!lua_isnoneornil(L, -1))
{
s.debugName.set(luaL_checkstring(L, -1));
s.debugName = luaL_checkstring(L, -1);
}
lua_pop(L, 1);