Skip to content

Commit

Permalink
fixed nullref exception
Browse files Browse the repository at this point in the history
  • Loading branch information
GHXX committed Jun 27, 2021
1 parent d33025e commit 729fd47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DataInterfaceConsole/Actions/Settings/SettingsHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public void Save()
public void Tick()
{
var di = Program.instance.di;
if (!di.IsValid())
if (di == null || !di.IsValid())
return;

try
Expand Down

0 comments on commit 729fd47

Please sign in to comment.