Skip to content

Commit

Permalink
fix plugins double loading
Browse files Browse the repository at this point in the history
  • Loading branch information
wootguy committed Nov 4, 2024
1 parent a6e761c commit 8843ce4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dlls/PluginManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ void PluginManager::UpdateServerPlugins(bool forceUpdate) {
bool found = false;
for (const Plugin& plugin : plugins) {
if (std::string(plugin.fpath) == p) {
found = true;
continue;
}
}
Expand Down
1 change: 1 addition & 0 deletions dlls/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -902,6 +902,7 @@ Engine is going to shut down, allows setting a breakpoint in game .dll to catch
void Sys_Error( const char *error_string )
{
// Default case, do nothing. MOD AUTHORS: Add code ( e.g., _asm { int 3 }; here to cause a breakpoint for debugging your game .dlls
ALERT(at_error, "Sys_Error: %s\n", error_string);
}

/*
Expand Down

0 comments on commit 8843ce4

Please sign in to comment.