|
@@ -513,6 +513,7 @@ public class WaterSprite : Boss
|
|
|
{
|
|
{
|
|
|
if (isDisappear)
|
|
if (isDisappear)
|
|
|
{
|
|
{
|
|
|
|
|
+ if(pc == null) pc = PlayersInput.instance[0];
|
|
|
int faceDir = pc.bodyTrans.transform.localScale.x > 0 ? 1 : -1;
|
|
int faceDir = pc.bodyTrans.transform.localScale.x > 0 ? 1 : -1;
|
|
|
transform.position = pc.transform.position + Vector3.right * faceDir * 5;
|
|
transform.position = pc.transform.position + Vector3.right * faceDir * 5;
|
|
|
BodyFlickerAppear();
|
|
BodyFlickerAppear();
|