Skip to content
Snippets Groups Projects
Commit 46b0d5f5 authored by Alex Ksandra's avatar Alex Ksandra
Browse files

It's not like I WANT to support broken fungus builds, but I HAVE to.

parent ba9780f9
No related branches found
No related tags found
No related merge requests found
......@@ -976,7 +976,7 @@ function _M:restCheck()
-- Check for detrimental effects
for id, _ in pairs(self.tmp) do
local def = self.tempeffect_def[id]
if def.status == "detrimental" and (def.decrease or 1) > 0 then
if def.type ~= "other" and def.status == "detrimental" and (def.decrease or 1) > 0 then
return true
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment