mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
可以说的话二次检查
This commit is contained in:
parent
0485e1d8e6
commit
b7365fa98f
@ -98,7 +98,7 @@ namespace VPet_Simulator.Windows
|
||||
|
||||
private void btn_Send_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
if (tbTalk.SelectedIndex == -1 || tbTalk.Text == "没有可以说的话".Translate())
|
||||
if (tbTalk.SelectedIndex == -1 || tbTalk.Text == "没有可以说的话".Translate() || textList.Count == 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user