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);
|
||||
GameType type;
|
||||
LinkedList<string> value = challengeBlock.GetUnnamedValues();
|
||||
string sType = challengeBlock.GetStringValue("type");
|
||||
// TODO check value size, better name
|
||||
switch (value.First.Value)
|
||||
switch (sType)
|
||||
{
|
||||
case EValueDragon:
|
||||
type = GameType.DRAGON;
|
||||
|
||||
Reference in New Issue
Block a user