Skip to content
Snippets Groups Projects
Commit 11a4002e authored by Eric Wykoff's avatar Eric Wykoff
Browse files

hopefully fix one see the threads bug

parent 9359a273
No related branches found
No related tags found
No related merge requests found
......@@ -472,7 +472,7 @@ newEffect{
game._chronoworlds["see_threads_"..(eff.thread-1)] = clone
game.level.map:particleEmitter(game.player.x, game.player.y, 1, "rewrite_universe")
return
else
else
game._chronoworlds.see_threads_base = nil
local chat = Chat.new("chronomancy-see-threads", {name="See the Threads"}, self, {turns=eff.max_dur})
chat:invoke()
......
......@@ -268,7 +268,10 @@ function _M:use(item)
game:saveGame()
elseif act == "threads" then
game:chronoRestore("see_threads_base", true)
game:onTickEnd(function()game.player:removeEffect(game.player.EFF_SEE_THREADS)end)
game:onTickEnd(function()
game._chronoworlds = nil
game.player:removeEffect(game.player.EFF_SEE_THREADS)end
)
game:saveGame()
elseif act == "easy_mode" then
self:eidolonPlane()
......
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