fix: warn on unhandled power-up type in GameBootstrap
This commit is contained in:
@@ -387,6 +387,9 @@ namespace Infrastructure.Unity
|
|||||||
case PowerUpType.SpeedBoost:
|
case PowerUpType.SpeedBoost:
|
||||||
_playerInstance?.Status.AddEffect(new SpeedBoostEffect(dur));
|
_playerInstance?.Status.AddEffect(new SpeedBoostEffect(dur));
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
Debug.LogWarning($"GameBootstrap: no effect handler for PowerUpType {t}");
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user