diff --git a/ProjectCruiser/ProjectCruiser/FormCruiserCollection.cs b/ProjectCruiser/ProjectCruiser/FormCruiserCollection.cs index 4c8f4e1..64d0eb7 100644 --- a/ProjectCruiser/ProjectCruiser/FormCruiserCollection.cs +++ b/ProjectCruiser/ProjectCruiser/FormCruiserCollection.cs @@ -58,8 +58,8 @@ public partial class FormCruiserCollection : Form drawningCruiser = new DrawningMilitaryCruiser(random.Next(100, 300), random.Next(1000, 3000), - Color.FromArgb(random.Next(0, 256), random.Next(0, 256), random.Next(0, 256)), - Color.FromArgb(random.Next(0, 256), random.Next(0, 256), random.Next(0, 256)), + GetColor(random), + GetColor(random), Convert.ToBoolean(random.Next(0, 2)), Convert.ToBoolean(random.Next(0, 2)), Convert.ToBoolean(random.Next(0, 2)));