Reverted some changes I thought was improving the readability, but was really just breaking the correctly programmed stuff =D
This commit is contained in:
parent
003a71cb5a
commit
386b26ccbe
|
@ -338,7 +338,7 @@ namespace BizHawk.MultiClient
|
|||
|
||||
public void SetHeaderLine(string key, string value)
|
||||
{
|
||||
Header.AddHeaderLine(key, value);
|
||||
Header.SetHeaderLine(key, value);
|
||||
}
|
||||
|
||||
public string GetTime()
|
||||
|
|
|
@ -53,7 +53,10 @@ namespace BizHawk.MultiClient
|
|||
/// <param name="value"></param>
|
||||
public void AddHeaderLine(string key, string value)
|
||||
{
|
||||
HeaderParams.Add(key, value);
|
||||
string temp = value;
|
||||
|
||||
if(!HeaderParams.TryGetValue(key, out temp)) //TODO: does a failed attempt mess with value?
|
||||
HeaderParams.Add(key, value);
|
||||
}
|
||||
|
||||
public void UpdateRerecordCount(int count)
|
||||
|
@ -77,5 +80,10 @@ namespace BizHawk.MultiClient
|
|||
HeaderParams.TryGetValue(key, out value);
|
||||
return value;
|
||||
}
|
||||
|
||||
public void SetHeaderLine(string key, string value)
|
||||
{
|
||||
HeaderParams[key] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue