Review fixes

This commit is contained in:
Denis Koronchik
2017-09-01 17:15:12 +03:00
committed by Michael Krasnyk
parent c2fd64d3cc
commit 75bdf114be
3 changed files with 8 additions and 10 deletions
+3 -1
View File
@@ -319,7 +319,9 @@ void Sol2ScriptingEnvironment::InitContext(LuaScriptingContext &context)
"role",
&RelationMemberWrap::GetRole,
"item_type",
&RelationMemberWrap::GetItemType);
&RelationMemberWrap::GetItemType,
"id",
&RelationMemberWrap::GetId);
/** TODO: make better solution with members iteration.
* For this moment, just make vector of RelationMember wrappers