mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Fix build
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user