Skip to content

Conversation

@tiennou
Copy link

@tiennou tiennou commented Nov 7, 2025

See #144 and the attached Discord discussion for details.

But in short, before the pcreep is spawned, o.ageTime is undefined — it gets defined by the spawnPowerCreep intent.
Which leads to the ticksToLive property subtracting the current tick value from undefined, which is NaN (no idea why, per the Discord discussion, this NaN would show up as a weirdly behaving null).

Fix the issue by checking that o.ageTime exists, and set it to undefined when the pcreep dies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant