🎮 Game

An arena survival game built on s&box with two modes: a shrinking-tile push arena and a nextbot survival mode with round flow, bots, map events and mutators. Rounds, players, health, kills and meta progression are split across components, with a Razor HUD and main menu layered on top. Credits, high scores and class choices are saved as JSON in FileSystem.Data, and leaderboards go through Sandbox.Services.

🐞 Possible Bugs

MapEventManager.cs
Clients never see the event state: CurrentEvent, TimeRemaining and IsOvertimeActive are only written in OnUpdate/StartRandomEvent on the host, and OnUpdate exits on proxies, so the public values read by any client HUD stay at None / 0 / false.
SlipperyIce multiplies ground velocity by 1.015 every fixed tick, with 50 ticks per second that is exponential growth (roughly double every 1.4s) instead of a friction change, so players slide faster and faster the longer the event runs.
ApplyPowerOutageFog overwrites DistanceEnabled, Mode and ColorSource on an existing Fog but only saves and restores FogEnabled, AttenuationDistance, MaximumOpacity and Color, so the scene fog keeps the power-outage settings after lights out ends.
MapVoteManager.cs
FinishVoting loads the next map with Game.ActiveScene.LoadFromFile, which only changes the host's scene; connected clients stay on the old map.
PlayerAbilities.cs
CreateFlashlightLight runs in OnStart without an IsProxy check and parents the SpotLight to the local Scene.Camera, and the sync block in OnUpdate runs for proxies too, so a remote player's synced IsFlashlightOn turns on a light at your own camera.
The fallback barrier path builds the object with Scene.CreateObject and never calls NetworkSpawn, while the prefab path does, so that barrier and its delayed Destroy only exist on the owner's client.
PlayerClass.cs
Ability activation is wired to Input.Pressed("menu"), so pressing Escape to open the menu also fires the class ability (and IsQPressed just returns the same menu check, so Q is never actually read).
The healing station GameObject and its PointLight are created on the deploying client and stored in a plain field, so other players never see the green healing zone.
PlayerHealth.cs
Joining during an active Survival wave sets CurrentHealth to 0 with RespawnTimer at its default 0, so IsDead turns true on the first OnUpdate and Respawn() runs immediately, putting the late joiner back in play instead of spectating.
RoundMutatorManager.cs
LowGravity is applied in OnUpdate after the `if ( IsProxy ) return;` guard, so only the host's simulation runs the velocity tweak, and each client never applies it to its own player, leaving remote players falling at normal speed.
StickyTarZone.cs
OnTriggerExit removes the root from _insideObjects and restores tint and MaterialOverride on the first collider to leave, so objects with several colliders (ragdolls, multi-part props) stop being slowed and lose the tar look while still inside the zone.
RigidbodyDrag is never read; the rigidbody slowdown is a hardcoded 0.5 multiplier, so the exposed property does nothing.