We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6ecde7 commit 87ce20bCopy full SHA for 87ce20b
Projects/Project 5/Gameplay.fs
@@ -286,7 +286,7 @@ type GameplayDispatcher () =
286
World.getEntitiesAs<SpawnPointDispatcher> Simulants.GameplayScene world
287
|> USet.filter (fun entity -> entity.Surnames.[0] <> "Palettes")
288
if unspawnDuration >= Constants.Gameplay.StalkDelay && USet.notEmpty spawnPoints then
289
- let spawnPoint = Gen.randomItem spawnPoints
+ let spawnPoint = Gen.randomChoice spawnPoints
290
screen.SetStalkerSpawnState (StalkerStalking (false, spawnPoint, world.GameTime)) world
291
| StalkerStalking (caughtTargetHiding, spawnPoint, spawnTime) ->
292
let spawnDuration = world.GameTime - spawnTime
0 commit comments