aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-04-01 17:59:16 -0400
committerlempamo <[email protected]>2017-04-01 17:59:16 -0400
commitd0b92c3e07c87a63aac29c647bbfd7c78d5f1a50 (patch)
treea269f69036a62ef57b43cf1062cf55927e311a2d /TimeHACK.Main/OS/Win95/Win95Apps/WebChat1998.cs
parentefcebdf860a6820050d14b5bc0211162e6aaa00b (diff)
downloadhistacom2-d0b92c3e07c87a63aac29c647bbfd7c78d5f1a50.tar.gz
histacom2-d0b92c3e07c87a63aac29c647bbfd7c78d5f1a50.tar.bz2
histacom2-d0b92c3e07c87a63aac29c647bbfd7c78d5f1a50.zip
more conversation
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++;