From 505cb098cca1603ba018443ca2793ddea851b5e6 Mon Sep 17 00:00:00 2001 From: Leonid Pospelov Date: Mon, 27 May 2024 04:00:34 +0500 Subject: [PATCH] feat(skymp5-server): change default respawn time for IsCreatedAsPlayer() false (#1995) --- skymp5-server/cpp/server_guest_lib/MpActor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skymp5-server/cpp/server_guest_lib/MpActor.cpp b/skymp5-server/cpp/server_guest_lib/MpActor.cpp index fafef774cb..4201ecc8f1 100644 --- a/skymp5-server/cpp/server_guest_lib/MpActor.cpp +++ b/skymp5-server/cpp/server_guest_lib/MpActor.cpp @@ -1158,7 +1158,7 @@ LocationalData MpActor::GetEditorLocationalData() const const float MpActor::GetRespawnTime() const { if (!IsCreatedAsPlayer()) { - static const auto kNpcSpawnDelay = 100 /*6 * 60.f * 60.f*/; + static const auto kNpcSpawnDelay = 2 * 60.f * 60.f; return kNpcSpawnDelay; } return ChangeForm().spawnDelay;