Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Source/CTIWrapper.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#region license
/*The MIT License (MIT)

Copyright (c) 2015-2017 cake>pie et al.
Copyright (c) 2015-2019 cake>pie et al.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -142,11 +142,11 @@ public Texture2D Icon
}

private PropertyInfo _Color;
public Color? Color
public Color Color
{
get
{
if (_Color == null) return null;
if (_Color == null) return Color.white;
return (Color)_Color.GetValue(_actualKerbalTraitSetting, null);
}
}
Expand Down Expand Up @@ -192,7 +192,7 @@ public bool attachImage(GameObject go)

private static void log(string s, params object[] m)
{
Debug.Log(string.Format("[CTIWrapper] " + s, m));
Debug.Log(string.Format("[" + typeof(CTIWrapper).Namespace + "|CTIWrapper] " + s, m));
}
}
}