check if not already thru white hole

This commit is contained in:
JohnCorby 2021-11-14 03:32:00 -08:00
parent a2cf5d0cf9
commit 16c769d9b3

View File

@ -84,7 +84,8 @@ namespace QSB.MeteorSync.Events
throw new Exception("HUGE BRUH MOMENT");
}
if (msg.IsThruWhitehole)
if (msg.IsThruWhitehole
&& detachableFragment._sector._parentSector != MeteorManager.WhiteHoleVolume._whiteHoleSector)
{
detachableFragment.ChangeFragmentSector(MeteorManager.WhiteHoleVolume._whiteHoleSector,
MeteorManager.WhiteHoleVolume._whiteHoleProxyShadowSuperGroup);