mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-06 10:44:08 +00:00
Added error log for die roll
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user