Skip to content

Commit a64ea5a

Browse files
committed
Wrong placing.
1 parent f92d83f commit a64ea5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Assets/JCSUnity/Scripts/Effects/Item/JCS_OneJump.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,13 +187,13 @@ private void TriggerDropping(Collider other)
187187
if (JCS_GameSettings.instance.DEBUG_MODE)
188188
JCS_Debug.PrintName(other.transform);
189189

190-
mFixCollider = other;
190+
mColliderName = other.name;
191191
#endif
192192

193193
mVelocity.y = 0;
194194
mEffect = false;
195195

196-
mColliderName = other.name;
196+
mFixCollider = other;
197197

198198
// TODO(jenchieh): not all the object we get set are
199199
// box collider only.

0 commit comments

Comments
 (0)