Skip to content

Commit 28da086

Browse files
committed
up
1 parent 3b8f774 commit 28da086

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

PersistentInofs.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,14 +123,17 @@ public void onServerDigest(string currserver, string serverProtocolMD5, string s
123123
}
124124

125125
if(_digest != serverProtocolMD5 + serverEntitydefMD5)
126+
{
126127
_digest = serverProtocolMD5 + serverEntitydefMD5;
128+
clearMessageFiles();
129+
}
127130
else
131+
{
128132
return;
133+
}
129134

130135
if(loadFile(_persistentDataPath, "kbengine.digest").Length == 0)
131136
{
132-
clearMessageFiles();
133-
134137
System.Text.ASCIIEncoding encoding = new System.Text.ASCIIEncoding();
135138
createFile(_persistentDataPath, "kbengine.digest", encoding.GetBytes(serverProtocolMD5 + serverEntitydefMD5));
136139
}

0 commit comments

Comments
 (0)