1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-28 22:39:42 +00:00

Fix recordDraft isScroll for types.book in lua

This commit is contained in:
Zackhasacat 2023-09-27 07:30:27 +00:00 committed by psi29a
parent a722518b4b
commit cde2b49313

View file

@ -60,7 +60,7 @@ namespace
if (rec["value"] != sol::nil)
book.mData.mValue = rec["value"];
if (rec["isScroll"] != sol::nil)
book.mData.mIsScroll = rec["isScroll"];
book.mData.mIsScroll = rec["isScroll"] ? 1 : 0;
if (rec["skill"] != sol::nil)
{