Commit cf17d3c3 authored by nanahira's avatar nanahira

simplify

parent ec3a99de
Pipeline #36367 failed with stages
in 1 minute and 3 seconds
......@@ -161,10 +161,7 @@ function Auxiliary.DefineCardmetaGetter(mt,field,f)
if mt._getters[key]~=nil then
return mt._getters[key](self)
end
if mt[key]~=nil then
return mt[key]
end
return Card[key]
return mt[key]
end
end
mt._getters[field]=f
......
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