Skip to content

Commit f6ec9d9

Browse files
author
Ruman Gerst
committed
* Fixed inconsistent condition logics
1 parent 3562164 commit f6ec9d9

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CSLMusicMod/CSLMusicMod.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public class CSLMusicMod : IUserMod
1515
{
1616
public static System.Random RANDOM = new System.Random();
1717

18-
public const String VersionName = "Rewrite 1.1.11.1";
18+
public const String VersionName = "Rewrite 1.1.11.2";
1919

2020
private SettingsUI m_SettingsUI;
2121

CSLMusicMod/Contexts/RadioContext.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ public RadioContext()
3737
/// <returns>true if one set of conditions apply</returns>
3838
public bool Applies()
3939
{
40+
if (m_Conditions.Count == 0)
41+
return true;
42+
4043
foreach(var conj in m_Conditions)
4144
{
4245
bool applies = true;

0 commit comments

Comments
 (0)