Levels/ShopLevel.cs

A Level subclass representing the game's shop/hub area. It sets its Type to Shop, yields once on Start, respawns all players, and stops the game timer so the hub is safe (it intentionally does not call base.Start to avoid normal level setup).

using System.Linq;
using System.Threading.Tasks;
using Sandbox;

namespace BrickJam;

public sealed class ShopLevel : Level
{
	public override LevelType Type => LevelType.Shop;

	public override async Task Start()
	{
		// Shop is a safe hub - no base.Start() (no exit/monsters/loot/grid).
		await GameTask.Yield();

		RespawnAll();
		MansionGame.Instance.TimerStop();
	}
}