Add next-wave-delay per-arena setting.
This commit adds a new per-arena config-file setting, next-wave-delay. When a new wave is about to spawn, a positive next-wave-delay value will cause the spawning of the wave to be delayed by that amount of seconds, similar to how first-wave-delay delays the spawning of the first wave. By moving all of the actual spawning logic into a new method and simply referencing that as a Runnable, we can avoid having to set weird boolean flags and re-scheduling the MASpawnThread itself. Closes #449
This commit is contained in:
@@ -21,6 +21,7 @@ min-players: 0
|
||||
max-players: 0
|
||||
max-join-distance: 0
|
||||
first-wave-delay: 5
|
||||
next-wave-delay: 0
|
||||
wave-interval: 15
|
||||
final-wave: 0
|
||||
monster-limit: 100
|
||||
|
||||
Reference in New Issue
Block a user