diff --git a/MBBSEmu/Assets/crashDetailsAPI.txt b/MBBSEmu/Assets/crashDetailsAPI.txt deleted file mode 100644 index 010403ba..00000000 --- a/MBBSEmu/Assets/crashDetailsAPI.txt +++ /dev/null @@ -1,10 +0,0 @@ -This exception was thrown because MBBSEmu doesn't yet support an API that this module attempted to use. -Please send the above crash information to The MajorBBS Emulation Project by emailing eric@mbbsemu.com -or by dropping by the Discord server. - -You can view API Support Information by library and ordinal (provided in the exception above), by visiting -the API Support Information section of the website at the following URL: - -https://www.mbbsemu.com/ApiInformation - -Thanks! \ No newline at end of file diff --git a/MBBSEmu/HostProcess/HostRoutines/MenuRoutines.cs b/MBBSEmu/HostProcess/HostRoutines/MenuRoutines.cs index 4fb536ff..345632c6 100644 --- a/MBBSEmu/HostProcess/HostRoutines/MenuRoutines.cs +++ b/MBBSEmu/HostProcess/HostRoutines/MenuRoutines.cs @@ -582,9 +582,9 @@ private void SignupGenderInput(SessionBase session) { if (session.GetStatus() != EnumUserStatus.CR_TERMINATED_STRING_AVAILABLE) return; - var inputValue = Encoding.ASCII.GetString(session.InputBuffer.ToArray()); + var inputValue = Encoding.ASCII.GetString(session.InputBuffer.ToArray()).ToUpper(); - if (inputValue.ToUpper() is not ("M" or "F")) + if (inputValue is not ("M" or "F")) { session.SendToClient("\r\n|RED||B|Please enter a valid gender selection ('M' or 'F').\r\n|RESET|".EncodeToANSIArray()); session.SessionState = EnumSessionState.SignupGenderDisplay; diff --git a/MBBSEmu/MBBSEmu.csproj b/MBBSEmu/MBBSEmu.csproj index 2cceb6ef..2029c7df 100644 --- a/MBBSEmu/MBBSEmu.csproj +++ b/MBBSEmu/MBBSEmu.csproj @@ -12,7 +12,6 @@ - @@ -45,7 +44,6 @@ -