Skip to content

Commit

Permalink
fix(skymp5-server): add missing variable to a log (skyrim-multiplayer…
Browse files Browse the repository at this point in the history
  • Loading branch information
nic11 authored Dec 7, 2024
1 parent 285c358 commit e5e2f61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion skymp5-server/cpp/server_guest_lib/MpObjectReference.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1695,7 +1695,8 @@ void MpObjectReference::InitScripts()
auto lookupRes =
GetParent()->GetEspm().GetBrowser().LookupById(cellOrWorld);
if (lookupRes.rec && lookupRes.rec->GetType() == "WRLD") {
spdlog::info("Skipping non-Sweet scripts for exterior form {:x}");
spdlog::info("Skipping non-Sweet scripts for exterior form {:x}",
cellOrWorld);
scriptNames.erase(std::remove_if(scriptNames.begin(), scriptNames.end(),
[](const std::string& val) {
auto kPrefix = "Sweet";
Expand Down

0 comments on commit e5e2f61

Please sign in to comment.