Skip to content

Commit 112ea77

Browse files
committed
ModuleScript: Flip if statement
1 parent 1c8925b commit 112ea77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/MonoBehaviours/ModuleScript.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ private static IEnumerator EditorCheckLatest()
450450

451451
string tagName = JObject.Parse(www.text).GetValue("tag_name").ToObject<string>();
452452

453-
if (PathManager.Version < tagName.ToVersion())
453+
if (tagName.ToVersion() > PathManager.Version)
454454
Logger.Self($"The library is out of date! Latest Version: {tagName}, Local Version: {PathManager.Version}. Please download the latest version here: https://github.com/Emik03/KeepCoding/releases/latest", LogType.Warning);
455455
}
456456

0 commit comments

Comments
 (0)