mkaulfers / TwistedRougeOS

The Unlicense
2 stars 1 forks source link

Duplicate Roles Happening #222

Closed mkaulfers closed 2 years ago

mkaulfers commented 2 years ago

Scientists, Anchors, Fast Fillers periodically duplicate themselves with no intervention/code-pushes. I'm assuming this is a possibility with any of the roles based on that it happens to 3 out of 5

Fast Fillers - When they duplicate there is a possibility that it will jam the spawn locations such that no other creep can spawn.

Image

Image

Image

rougeayrn commented 2 years ago

Anything can technically respawn prematurely. Here's the situation:

The schedule attempts to prespawn something, but doesn't find adequate space to accurately prespawn. It falls back to finding the first open space that it can spawn, and puts the spawn order there. This is creating the premature spawns that you see there.

The fixes for this are as follows:

Any way, this is handled by #189. Closing given.