diff --git a/box1/Assets/Script/UI/EventSystem.cs b/box1/Assets/Script/UI/EventSystem.cs index aadf8537..1e3a07a8 100644 --- a/box1/Assets/Script/UI/EventSystem.cs +++ b/box1/Assets/Script/UI/EventSystem.cs @@ -20,26 +20,26 @@ public class EventSystem : MonoBehaviour moveTime += data.Event1; break; case 3: - pointsRatio += data.Event1; + points += data.Event1; break; case 4: var intSpeed0 = (float)speed * (((float)data.Event1) / 100); speed -= (int)intSpeed0; - points += data.Event2; + pointsRatio += data.Event2; break; case 5: var intSpeed1 = (float)speed * (((float)data.Event1) / 100); speed -= (int)intSpeed1; - pointsRatio += data.Event2; + points += data.Event2; break; case 6: moveTime -= data.Event1; - points += data.Event2; + pointsRatio += data.Event2; break; case 7: moveTime -= data.Event1; - pointsRatio += data.Event2; + points += data.Event2; break; } }