Add a lobby option to control spawning creeps (viceroids/worms)
The lobby option is only exposed in d2k currently, not in TD or TS.
This commit is contained in:
@@ -56,7 +56,8 @@ namespace OpenRA.Mods.D2k.Traits
|
||||
|
||||
public void Tick(Actor self)
|
||||
{
|
||||
// TODO: Add a lobby option to disable worms just like crates
|
||||
if (!self.World.LobbyInfo.GlobalSettings.Creeps)
|
||||
return;
|
||||
|
||||
// TODO: It would be even better to stop
|
||||
if (!spawnPoints.Value.Any())
|
||||
|
||||
Reference in New Issue
Block a user