Spiel sollte nun bei eingehender Herausforderung nicht mehr abstürzen
This commit is contained in:
@@ -292,9 +292,9 @@ namespace WorldOfPeacecraft
|
|||||||
{
|
{
|
||||||
int id = challengeBlock.GetIntValue(ValueId);
|
int id = challengeBlock.GetIntValue(ValueId);
|
||||||
GameType type;
|
GameType type;
|
||||||
LinkedList<string> value = challengeBlock.GetUnnamedValues();
|
string sType = challengeBlock.GetStringValue("type");
|
||||||
// TODO check value size, better name
|
// TODO check value size, better name
|
||||||
switch (value.First.Value)
|
switch (sType)
|
||||||
{
|
{
|
||||||
case EValueDragon:
|
case EValueDragon:
|
||||||
type = GameType.DRAGON;
|
type = GameType.DRAGON;
|
||||||
|
|||||||
Reference in New Issue
Block a user