1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Fix build

This commit is contained in:
Ivan Savenko
2024-04-09 18:56:28 +03:00
parent 50e8d1fd82
commit 8aaa9e63dd
3 changed files with 7 additions and 6 deletions

View File

@@ -143,7 +143,7 @@ int BonusProxy::getDescription(lua_State * L)
std::shared_ptr<const Bonus> object;
if(!S.tryGet(1, object))
return S.retNil();
return LuaStack::quickRetStr(L, object->description);
return LuaStack::quickRetStr(L, object->description.toString());
}
int BonusProxy::toJsonNode(lua_State * L)