Commit 74903b7c authored by VanillaSalt's avatar VanillaSalt

Merge pull request #12 from DailyShana/patch-1

fix
parents f9ab9561 4c7d77ad
......@@ -343,8 +343,9 @@ int32 scriptlib::effect_get_property(lua_State *L) {
check_param(L, PARAM_TYPE_EFFECT, 1);
effect* peffect = *(effect**) lua_touserdata(L, 1);
if (peffect) {
lua_pushunsigned(L, peffect->flag);
return 1;
lua_pushunsigned(L, peffect->flag[0]);
lua_pushunsigned(L, peffect->flag[1]);
return 2;
}
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment