Added error log for die roll

This commit is contained in:
BuildTools 2021-12-15 14:33:16 -06:00
parent de202ac6cc
commit c4dd85be53

View File

@ -1,5 +1,6 @@
#include "LegoDieRoll.h"
#include "Entity.h"
#include "dLogger.h"
#include "GameMessages.h"
void LegoDieRoll::OnStartup(Entity* self) {
@ -35,6 +36,7 @@ void LegoDieRoll::OnTimerDone(Entity* self, std::string timerName) {
GameMessages::SendPlayAnimation(self, u"roll-die-6");
break;
default:
Game::logger->Log("LegoDieRoll", "Invalid animation: roll-die-%i\n", dieRoll);
break;
}
}