mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-03-12 04:14:08 +00:00
add "none" kickreason
This commit is contained in:
parent
d8d3fbe5f7
commit
d9eba599f9
@ -1,6 +1,5 @@
|
||||
using QSB.Player;
|
||||
using QSB.Utility;
|
||||
using QuantumUNET;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Networking;
|
||||
using UnityEngine.UI;
|
||||
@ -159,6 +158,9 @@ namespace QSB.Menus
|
||||
case KickReason.GameVersionNotMatching:
|
||||
text = "Server refused connection as Outer Wilds version does not match.";
|
||||
break;
|
||||
case KickReason.None:
|
||||
text = "Kicked from server. No reason given.";
|
||||
break;
|
||||
default:
|
||||
text = $"Kicked from server. KickReason:{reason}";
|
||||
break;
|
||||
|
@ -2,6 +2,7 @@
|
||||
{
|
||||
public enum KickReason
|
||||
{
|
||||
None,
|
||||
QSBVersionNotMatching,
|
||||
GameVersionNotMatching
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user