fix
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 1m43s
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 1m43s
This commit is contained in:
@@ -288,6 +288,11 @@ func generateFutureObjects(s *SimState, tick int, speed float64) ([]ActiveObstac
|
||||
var pool []ObstacleDef
|
||||
|
||||
for _, d := range defs {
|
||||
|
||||
if d.NoRandomSpawn {
|
||||
continue
|
||||
}
|
||||
|
||||
if isBoss {
|
||||
if d.ID == "principal" || d.ID == "trashcan" {
|
||||
pool = append(pool, d)
|
||||
|
||||
Reference in New Issue
Block a user