Skip to content

Commit 87ce20b

Browse files
committed
Compile fix.
1 parent c6ecde7 commit 87ce20b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Projects/Project 5/Gameplay.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ type GameplayDispatcher () =
286286
World.getEntitiesAs<SpawnPointDispatcher> Simulants.GameplayScene world
287287
|> USet.filter (fun entity -> entity.Surnames.[0] <> "Palettes")
288288
if unspawnDuration >= Constants.Gameplay.StalkDelay && USet.notEmpty spawnPoints then
289-
let spawnPoint = Gen.randomItem spawnPoints
289+
let spawnPoint = Gen.randomChoice spawnPoints
290290
screen.SetStalkerSpawnState (StalkerStalking (false, spawnPoint, world.GameTime)) world
291291
| StalkerStalking (caughtTargetHiding, spawnPoint, spawnTime) ->
292292
let spawnDuration = world.GameTime - spawnTime

0 commit comments

Comments
 (0)