mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-06-17 12:14:21 +00:00
feat: implement a bunch of basic scripts that don't really do anything
None of these do anything noticeable or break anything
This commit is contained in:
@@ -13,7 +13,6 @@ void ResetMissions(Entity& user) {
|
||||
}
|
||||
|
||||
void OldManNPC::OnUse(Entity* self, Entity* user) {
|
||||
LOG("");
|
||||
const auto* const missionComponent = user->GetComponent<MissionComponent>();
|
||||
if (!missionComponent) return;
|
||||
|
||||
@@ -24,7 +23,6 @@ void OldManNPC::OnUse(Entity* self, Entity* user) {
|
||||
}
|
||||
|
||||
const auto missionState = mission->GetMissionState();
|
||||
LOG("mission state %i", missionState);
|
||||
if (missionState == eMissionState::AVAILABLE || missionState == eMissionState::COMPLETE_AVAILABLE) {
|
||||
ResetMissions(*user);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user