fix connection establishment when loading files
This commit is contained in:
committed by
Felix Hartmann (PEA3-Fe-FI)
parent
a953d34122
commit
e27141e013
@@ -166,6 +166,8 @@ namespace PolyChat
|
||||
/// <param name="ip"></param>
|
||||
public void loadChats()
|
||||
{
|
||||
|
||||
|
||||
//load dir and create if non existant
|
||||
if (Directory.Exists("U:\\PolyChat\\Saves"))
|
||||
{
|
||||
@@ -190,6 +192,7 @@ namespace PolyChat
|
||||
ip = ip.Substring(0, ip.Length - 4);
|
||||
Debug.WriteLine("-" + ip + "-");
|
||||
Debug.WriteLine(jsonArr);
|
||||
Connect(ip);
|
||||
UIController.OnIncomingMessages(ip, jsonArr);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user