aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs
diff options
context:
space:
mode:
authorAShifter <[email protected]>2017-04-01 16:31:12 -0600
committerGitHub <[email protected]>2017-04-01 16:31:12 -0600
commitf99047081ffb1a0b3eba208155324d0e2f050d4c (patch)
tree60fb77a1bc806854be1ce2020534c067ff49483a /TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs
parentb214553a853988cefe9f519c20127db480830331 (diff)
parentddb713407859352c35fa3a9644aedcafbd8584c4 (diff)
downloadhistacom2-f99047081ffb1a0b3eba208155324d0e2f050d4c.tar.gz
histacom2-f99047081ffb1a0b3eba208155324d0e2f050d4c.tar.bz2
histacom2-f99047081ffb1a0b3eba208155324d0e2f050d4c.zip
Merge pull request #26 from lempamo/master
Master
Diffstat (limited to 'TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs')
-rw-r--r--TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs b/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs
index 79594ed..a259fa5 100644
--- a/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs
+++ b/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs
@@ -17,6 +17,7 @@ namespace TimeHACK.OS.Win95.Win95Apps
int chat_index = 0;
WCMessageParser wcmp = new WCMessageParser();
bool correctname = false;
+ bool guessing = false;
public WebChat1998()
{
@@ -53,7 +54,7 @@ namespace TimeHACK.OS.Win95.Win95Apps
private void Chat_Tick(object sender, EventArgs e)
{
- if (chat_index != 6)
+ if (!guessing)
{
history.Text += wcmp.ParseMessage(resources.GetString("convo"), chat_index, TitleScreen.username) + "\n";
switch (wcmp.GetSpecial(resources.GetString("convo"), chat_index))
@@ -67,6 +68,7 @@ namespace TimeHACK.OS.Win95.Win95Apps
button3.Show();
button4.Show();
Chat.Stop();
+ guessing = true;
break;
case "addrain":
listBox1.Items.Add("rain49");
@@ -86,6 +88,7 @@ namespace TimeHACK.OS.Win95.Win95Apps
{
history.Text += "SkyHigh: sorry, my name is actually bill\n";
}
+ guessing = false;
Chat.Interval = wcmp.GetMessageDelay(resources.GetString("convo"), chat_index);
}
chat_index++;