add and fix a lot
This commit is contained in:
@@ -147,11 +147,7 @@ namespace GamblingCoin
|
||||
{
|
||||
x.Player.SendBroadcast(configMessages.PocketDimensionMessage, configGameplay.BroadcastDuration);
|
||||
|
||||
var newPos = Map.Rooms.First(roomIdentifier => roomIdentifier.Zone==FacilityZone.Other).Position;
|
||||
|
||||
x.Player.ReferenceHub.playerEffectsController.ChangeState(nameof(Corroding),1, 999, true);
|
||||
|
||||
x.Player.Position = newPos + new UnityEngine.Vector3(0, configGameplay.TeleportHeightOffset, 0);
|
||||
PocketDimension.ForceInside(x.Player);
|
||||
},
|
||||
configChances.PocketDimensionChance)
|
||||
.AddAction(x =>
|
||||
@@ -232,7 +228,7 @@ namespace GamblingCoin
|
||||
|
||||
Player[] GetPlayers()
|
||||
{
|
||||
return Player.Dictionary.Values.ToArray();
|
||||
return Player.ReadyList.ToArray();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user