Skip to content

Commit

Permalink
Remove an unnecessary plFactory instance access
Browse files Browse the repository at this point in the history
  • Loading branch information
dgelessus committed Aug 7, 2023
1 parent 6369958 commit 393ca19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Plasma/PubUtilLib/plNetMessage/plNetMessage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ void plNetMsgGameMessage::WriteVersion(hsStream* s, hsResMgr* mgr)

ST::string plNetMsgGameMessage::AsString() const
{
const char* noc = plFactory::GetTheFactory()->GetNameOfClass(StreamInfo()->GetStreamType());
const char* noc = plFactory::GetNameOfClass(StreamInfo()->GetStreamType());
return ST::format("{} {}", plNetMsgStream::AsString(), noc ? noc : "?");
}

Expand Down

0 comments on commit 393ca19

Please sign in to comment.