mirror of
https://github.com/space-wizards/space-station-14.git
synced 2026-02-14 19:29:53 +01:00
Use NextByte to properly construct colours (#42335)
This commit is contained in:
@@ -41,9 +41,9 @@ public sealed class NetworkConfiguratorLinkOverlay : Overlay
|
||||
if (!Colors.TryGetValue(uid, out var color))
|
||||
{
|
||||
color = new Color(
|
||||
_random.Next(0, 255),
|
||||
_random.Next(0, 255),
|
||||
_random.Next(0, 255));
|
||||
_random.NextByte(0, 255),
|
||||
_random.NextByte(0, 255),
|
||||
_random.NextByte(0, 255));
|
||||
Colors.Add(uid, color);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user