Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
- fixed "empty news" bug
  • Loading branch information
Aviuz committed Jul 25, 2017
1 parent aff9e7d commit 6b85d36
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Binary file modified Assemblies/PrisonLabor.dll
Binary file not shown.
3 changes: 3 additions & 0 deletions Source/Initialization.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,19 @@ private static void checkVersion()
{
Log.Message("Detected older version of PrisonLabor than 0.5");
NewsDialog.news_0_5 = true;
NewsDialog.autoShow = true;
}
if (PrisonLaborPrefs.LastVersion < 6)
{
Log.Message("Detected older version of PrisonLabor than 0.6");
NewsDialog.news_0_6 = true;
NewsDialog.autoShow = true;
}
if (PrisonLaborPrefs.LastVersion < 7)
{
Log.Message("Detected older version of PrisonLabor than 0.7");
NewsDialog.news_0_7 = true;
NewsDialog.autoShow = true;
}

Log.Message("Loaded PrisonLabor v" + PrisonLaborPrefs.Version);
Expand Down
2 changes: 1 addition & 1 deletion Source/NewsDialog.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace PrisonLabor
{
class NewsDialog : Window
{
private static bool autoShow = true;
public static bool autoShow = false;

public static bool showAll = false;

Expand Down

0 comments on commit 6b85d36

Please sign in to comment.