Skip to content

Commit

Permalink
feat(skymp5-server): change default respawn time for IsCreatedAsPlaye…
Browse files Browse the repository at this point in the history
  • Loading branch information
Pospelove authored May 26, 2024
1 parent e6e103b commit 505cb09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skymp5-server/cpp/server_guest_lib/MpActor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 505cb09

Please sign in to comment.