Ans-Bug beseitigt
This commit is contained in:
@@ -85,7 +85,7 @@ namespace WorldOfPeacecraft
|
||||
|
||||
private void ProcessData (Block parentBlock)
|
||||
{
|
||||
if (parentBlock.GetStringValue ("ans") != null) {
|
||||
if (parentBlock.ValueExists ("ans")) {
|
||||
ProcessAnswer (parentBlock);
|
||||
return;
|
||||
}
|
||||
@@ -486,6 +486,11 @@ namespace WorldOfPeacecraft
|
||||
return Blocks;
|
||||
}
|
||||
|
||||
public bool ValueExists (string name)
|
||||
{
|
||||
return Values.ContainsKey (name);
|
||||
}
|
||||
|
||||
public string GetStringValue (string name)
|
||||
{
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user