Commit 2a43dc05 authored by nanahira's avatar nanahira

Merge branch 'master' of github.com:Fluorohydride/ygopro-core

parents 76af30a6 9974cf8f
......@@ -2432,7 +2432,7 @@ int32 scriptlib::card_is_releasable_by_effect(lua_State *L) {
card* pcard = *(card**) lua_touserdata(L, 1);
uint32 p = pcard->pduel->game_field->core.reason_player;
effect* re = pcard->pduel->game_field->core.reason_effect;
if(pcard->is_releasable_by_effect(p, re))
if(pcard->is_releasable_by_nonsummon(p) && pcard->is_releasable_by_effect(p, re))
lua_pushboolean(L, 1);
else
lua_pushboolean(L, 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