Merge pull request #264 from xen-42/tornado-default-fix

Fix default tornado type
This commit is contained in:
Nick 2022-08-13 00:27:38 -04:00 committed by GitHub
commit e99c0af965
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -271,9 +271,9 @@ namespace NewHorizons.External.Modules
[JsonConverter(typeof(StringEnumConverter))]
public enum TornadoType
{
[EnumMember(Value = @"downwards")] Downwards = 0,
[EnumMember(Value = @"upwards")] Upwards = 0,
[EnumMember(Value = @"upwards")] Upwards = 1,
[EnumMember(Value = @"downwards")] Downwards = 1,
[EnumMember(Value = @"hurricane")] Hurricane = 2
}
@ -303,7 +303,7 @@ namespace NewHorizons.External.Modules
/// <summary>
/// What type of cyclone should this be? Upwards and downwards are both tornados and will push in that direction.
/// </summary>
[DefaultValue("downwards")] public TornadoType type = TornadoType.Downwards;
[DefaultValue("upwards")] public TornadoType type = TornadoType.Upwards;
/// <summary>
/// Angular distance from the starting position that it will wander, in terms of the angle around the x-axis.

View File

@ -1634,7 +1634,7 @@
},
"type": {
"description": "What type of cyclone should this be? Upwards and downwards are both tornados and will push in that direction.",
"default": "downwards",
"default": "upwards",
"$ref": "#/definitions/TornadoType"
},
"wanderDegreesX": {
@ -1665,13 +1665,13 @@
"type": "string",
"description": "",
"x-enumNames": [
"Downwards",
"Upwards",
"Downwards",
"Hurricane"
],
"enum": [
"downwards",
"upwards",
"downwards",
"hurricane"
]
},