diff options
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/vm/value.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/vm/value.lua b/server/src/vm/value.lua index d765883e..425cc0b2 100644 --- a/server/src/vm/value.lua +++ b/server/src/vm/value.lua @@ -84,8 +84,8 @@ function mt:getType() mRate = rate mType = tp elseif rate == mRate then - local level1 = TypeLevel[rate] or 0.0 - local level2 = TypeLevel[mRate] or 0.0 + local level1 = TypeLevel[tp] or 0.0 + local level2 = TypeLevel[mType] or 0.0 if level1 > level2 then mRate = rate mType = tp |