Commit f4b0b588 authored by Nemo Ma's avatar Nemo Ma

Update glitchylib_regeff.lua

parent d1b1c0f9
...@@ -324,7 +324,7 @@ if not global_duel_effect_table_global_check then ...@@ -324,7 +324,7 @@ if not global_duel_effect_table_global_check then
global_duel_effect_table={} global_duel_effect_table={}
Duel.register_global_duel_effect_table = Duel.RegisterEffect Duel.register_global_duel_effect_table = Duel.RegisterEffect
Duel.RegisterEffect = function(e,tp) Duel.RegisterEffect = function(e,tp)
if tp~=0 and tp~=1 then return end if not tp then tp=0 end
if not global_duel_effect_table[tp] then global_duel_effect_table[tp]={} end if not global_duel_effect_table[tp] then global_duel_effect_table[tp]={} end
table.insert(global_duel_effect_table[tp],e) table.insert(global_duel_effect_table[tp],e)
......
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