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