Jump to content

desolationspawner.lua Typo in Code for Red Mushtree


DarkMatterZero
  • Fixed

EDIT: I updated my scripts folder and this bug has already been fixed. Sorry!

Hey. I noticed a tiny typo in desolationspawner.lua while working on a mod.

self:SetSpawningForType("mushtree_medium", "mushtree_medium", TUNING.MUSHTREE_REGROWTH.DESOLATION_RESPAWN_TIME, {"mushtree"}, function()
    return (not _worldstate.issumer and 0) or 1
end)

Line 180 says "issumer" instead of "issummer".
I've never personally experienced this, but I'm pretty sure this prevents Red Mushtrees from respawning (during their designated season) if you cut all or most of them down.


Steps to Reproduce
1. Cut down all Red Mushtrees 2. Wait for summer 3. Anticipate the spawn of new Red Mushtrees to no avail



User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...