Remove MachineType.None (dupe of NULL)

This commit is contained in:
Matt Nadareski
2020-08-24 13:53:53 -07:00
parent 85dc985c67
commit 77cdda1c6e
8 changed files with 13 additions and 16 deletions

View File

@@ -603,7 +603,7 @@ namespace SabreTools.Library.Tools
return MachineType.Mechanical;
case "none":
default:
return MachineType.None;
return MachineType.NULL;
}
#else
return gametype?.ToLowerInvariant() switch
@@ -613,8 +613,8 @@ namespace SabreTools.Library.Tools
"device" => MachineType.Device,
"mech" => MachineType.Mechanical,
"mechanical" => MachineType.Mechanical,
"none" => MachineType.None,
_ => MachineType.None,
"none" => MachineType.NULL,
_ => MachineType.NULL,
};
#endif
}