Skip to content
Snippets Groups Projects
Commit 3da0d245 authored by Chris Davidson's avatar Chris Davidson
Browse files

Change other effects to not prevent entering the world map

This default makes more sense.  "Other" usually means non-interacting, and they can't be dispelled.
parent 0373cd99
No related branches found
No related tags found
1 merge request!555Fixes+Misc
......@@ -2174,7 +2174,7 @@ do return end
local stop = {}
for eff_id, p in pairs(self.player.tmp) do
local e = self.player.tempeffect_def[eff_id]
if e.status == "detrimental" and not e.no_stop_enter_worlmap then stop[#stop+1] = e.desc end
if e.status == "detrimental" and e.type ~= "other" and not e.no_stop_enter_worlmap then stop[#stop+1] = e.desc end
end
if e.change_zone and #stop > 0 and e.change_zone:find("^wilderness") then
......
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