]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Fix VGRoid grid spam (#29946)
authormetalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Sat, 27 Jul 2024 01:54:38 +0000 (11:54 +1000)
committerGitHub <noreply@github.com>
Sat, 27 Jul 2024 01:54:38 +0000 (11:54 +1000)
commit8f250581be8de74592c524a4c4007bf9dac6d9cf
treeaf77df02ad801272ba3d62601b98e3d8cfc48f5c
parente7aa7791b45376743d5cb41160a2a6f68b9df167
Fix VGRoid grid spam (#29946)

Specifically if a grid splits under the cvar size it doesn't get a label. This also stops stuff like shuttles splitting in half creating new entries for the new grids. Splitting code leaves the largest grid as the existing one so this will always prefer to keep it large (but if there's multiple splits it won't adjust).
Content.Server/Shuttles/Systems/ShuttleSystem.IFF.cs
Content.Shared/CCVar/CCVars.cs