summaryrefslogtreecommitdiff
path: root/SurvivalTest/Assets/Scripts/Test/TestPeaceMaker.cs
diff options
context:
space:
mode:
Diffstat (limited to 'SurvivalTest/Assets/Scripts/Test/TestPeaceMaker.cs')
-rw-r--r--SurvivalTest/Assets/Scripts/Test/TestPeaceMaker.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/SurvivalTest/Assets/Scripts/Test/TestPeaceMaker.cs b/SurvivalTest/Assets/Scripts/Test/TestPeaceMaker.cs
index 86b781b..775b913 100644
--- a/SurvivalTest/Assets/Scripts/Test/TestPeaceMaker.cs
+++ b/SurvivalTest/Assets/Scripts/Test/TestPeaceMaker.cs
@@ -74,13 +74,10 @@ public class TestPeaceMaker : CrewScript
}
private ControlMode m_ControlMode;
- private void Awake()
+ void Start()
{
PlayerManager.Instance.SetCrew(this);
- }
- void Start()
- {
m_SpriteRenderer = GetComponent<SpriteRenderer>();
m_Coord = GetComponent<TopDownTransform>();