mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-21 21:17:25 +00:00
Added error log for die roll
This commit is contained in:
parent
de202ac6cc
commit
c4dd85be53
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user