Derive gamemode from sandbox.