Skip to content
This repository has been archived by the owner on Oct 26, 2020. It is now read-only.

Commit

Permalink
Updated EditorTime to KSP 1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
magico13 committed May 20, 2016
1 parent 9ac29c4 commit f095dde
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion EditorTime/EditorTime.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public void Start()
if (!drawing)
{
//Draw the current time window
RenderingManager.AddToPostDrawQueue(0, DrawTimeWindow);
//RenderingManager.AddToPostDrawQueue(0, DrawTimeWindow);
drawing = true;
}
}
Expand Down Expand Up @@ -78,6 +78,11 @@ public void OnDestroy()
config.Save(configFilePath);
}

public void OnGUI()
{
DrawTimeWindow();
}

public void DrawTimeWindow()
{
//Actually draw the window
Expand Down

0 comments on commit f095dde

Please sign in to comment.