Skip to content

Commit a87ae9f

Browse files
committed
fixed crash when checking for mod updates failed
1 parent e6aa46f commit a87ae9f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

PolyTechMain.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,9 @@ public void Awake()
115115
Logger.LogInfo($"Loaded {PluginName} v{PluginVersion}");
116116
this.isCheat = false;
117117
this.isEnabled = modEnabled.Value;
118-
registerMod(this);
119-
120118
ptfInstance = this;
119+
120+
registerMod(this);
121121
}
122122

123123
bool flag = false;

0 commit comments

Comments
 (0)