Commit dcc5ebdb authored by nanahira's avatar nanahira

update

parent b832f747
...@@ -955,7 +955,6 @@ int32 scriptlib::card_is_not_tuner(lua_State *L) { ...@@ -955,7 +955,6 @@ int32 scriptlib::card_is_not_tuner(lua_State *L) {
check_param_count(L, 1); check_param_count(L, 1);
check_param(L, PARAM_TYPE_CARD, 1); check_param(L, PARAM_TYPE_CARD, 1);
card* pcard = *(card**) lua_touserdata(L, 1); card* pcard = *(card**) lua_touserdata(L, 1);
uint32 type = pcard->get_type();
uint32 type = pcard->get_synchro_type(); uint32 type = pcard->get_synchro_type();
if(!(type & TYPE_TUNER) || pcard->is_affected_by_effect(EFFECT_NONTUNER)) if(!(type & TYPE_TUNER) || pcard->is_affected_by_effect(EFFECT_NONTUNER))
lua_pushboolean(L, 1); lua_pushboolean(L, 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