Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix OnPlayerConnect regression after gmx. #891

Merged
merged 1 commit into from
Mar 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions SDK/include/network.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ enum PeerDisconnectReason
PeerDisconnectReason_Timeout,
PeerDisconnectReason_Quit,
PeerDisconnectReason_Kicked,
// Never used by us, reserved for some existing libraries.
_PeerDisconnectReason_Custom,
// 4 to match fixes.inc, which wasn't 3 because some other libraries already used it.
PeerDisconnectReason_ModeEnd
};

enum OrderingChannel
Expand Down
2 changes: 1 addition & 1 deletion Server/Components/Pawn/Manager/Manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ bool PawnManager::Load(std::string const& name, bool isEntryScript, bool restart
scripts_.push_back(ptr);
amxToScript_.emplace(script.GetAMX(), ptr);
}
openAMX(script, isEntryScript);
openAMX(script, isEntryScript, restarting);
return true;
}

Expand Down
Loading