Sump/Core/SumpWave2.cs

Partial class contributing wave 2 setup for the Sump game mode. StartWave2 adds FlashbackRunner and SumpHub components to the root object and a Patchwork component to the player if one exists.

/// <summary>Wave 2 modules: flashbacks, grafts, hub growth.</summary>
public static partial class SumpModules
{
	static partial void StartWave2( SumpBootstrap root )
	{
		root.Components.GetOrCreate<FlashbackRunner>();
		root.Components.GetOrCreate<SumpHub>();
		if ( Sump.Player.IsValid() ) Sump.Player.Components.GetOrCreate<Patchwork>();
	}
}