mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-25 15:03:34 +00:00
minor changes
This commit is contained in:
parent
e73b2bfcb2
commit
3f1f51f996
@ -113,7 +113,7 @@ void PetDigServer::OnUse(Entity* self, Entity* user) {
|
|||||||
if (!destroyableComponent) return;
|
if (!destroyableComponent) return;
|
||||||
|
|
||||||
auto imagination = destroyableComponent->GetImagination();
|
auto imagination = destroyableComponent->GetImagination();
|
||||||
if (imagination == 0) return; // TODO: Check if there was special behavior for this in the live game
|
if (imagination == 0) return; // TODO: Check if there was special behavior for this in the live game (PR_NEED_IMAGINATION)
|
||||||
|
|
||||||
petComponent->SetTreasureTime(2.0f); // TODO: Get rid of this magic number
|
petComponent->SetTreasureTime(2.0f); // TODO: Get rid of this magic number
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user