Commit 3b005ef4 authored by DailyShana's avatar DailyShana

fix Fluorohydride/ygopro#1988

parent e4684f8c
......@@ -538,7 +538,7 @@ int32 scriptlib::effect_is_activated(lua_State * L) {
check_param_count(L, 1);
check_param(L, PARAM_TYPE_EFFECT, 1);
effect* peffect = *(effect**) lua_touserdata(L, 1);
lua_pushboolean(L, (peffect->status & EFFECT_STATUS_ACTIVATED));
lua_pushboolean(L, (peffect->type & 0x7f0));
return 1;
}
......
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