Skip to content

Commit

Permalink
mods/predict-rain: fix new rift spawns not being detected
Browse files Browse the repository at this point in the history
  • Loading branch information
Crestwave committed Aug 4, 2024
1 parent b9f143a commit fab1d28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mods/predict-rain/modmain.lua
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ if GetModConfigData("predicthail") then
local lunarrift = nil

AddPrefabPostInit("globalmapicon", function(inst)
inst:DoTaskInTime(0, function(inst)
inst:DoTaskInTime(1, function(inst)
if (lunarrift == nil or not lunarrift:IsValid()) and
_G.TheWorld:HasTag("forest") and
_G.TheWorld.Map:GetTileAtPoint(inst.Transform:GetWorldPosition()) == _G.WORLD_TILES.RIFT_MOON then
Expand Down

0 comments on commit fab1d28

Please sign in to comment.