mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-29 04:20:29 +00:00
Fix recordDraft isScroll for types.book in lua
This commit is contained in:
parent
a722518b4b
commit
cde2b49313
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user