Ignore sun sector

This commit is contained in:
Ricardo Lopes 2020-02-12 22:38:06 +01:00
parent ee5b2b739e
commit 3d0ba354e2

View File

@ -39,7 +39,7 @@ namespace QSB {
public void EnterSector (Sector sector) {
var name = sector.GetName();
if (name != Sector.Name.Unnamed && name != Sector.Name.Ship) {
if (name != Sector.Name.Unnamed && name != Sector.Name.Ship && name != Sector.Name.Sun) {
QSB.playerSectors[netId.Value] = QSB.GetSectorByName(sector.GetName());
SectorMessage msg = new SectorMessage();