local function testforshark(comp, spawnpoint) local ents = TheSim:FindEntities(spawnpoint.x, spawnpoint.y, spawnpoint.z, TUNING.SHARK_TEST_RADIUS, GNARWAIL_TAGS) if #ents < 2 and math.random() < TUNING.SHARK_SPAWN_CHANCE then
The testforshark function in components/schoolspawner.lua checks for entities with the "gnarwail" tag, instead of the "shark" tag as a player might expect. This means there is theoretically an infinite limit to the amount of sharks that can spawn, if there are not more than two gnarwails in the area.
Is this an actual problem in gameplay? I'd say so as one time I've experienced getting four sharks back to back, which just doesn't seem very fair : P
Steps to Reproduce
1. Be the unluckiest person on planet earth and get four Rock Jaws back to back.
-
3
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 accountSign in
Already have an account? Sign in here.
Sign In Now