mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2024-11-14 10:50:13 +01:00
Add delay to p2p session request callback to fix aoe2hd.
This commit is contained in:
parent
8daa896c86
commit
1717323cd7
1 changed files with 1 additions and 1 deletions
|
@ -748,7 +748,7 @@ void RunCallbacks()
|
|||
P2PSessionRequest_t data;
|
||||
memset(&data, 0, sizeof(data));
|
||||
data.m_steamIDRemote = CSteamID(source_id);
|
||||
callbacks->addCBResult(data.k_iCallback, &data, sizeof(data), true);
|
||||
callbacks->addCBResult(data.k_iCallback, &data, sizeof(data), 0.1, true);
|
||||
} else {
|
||||
struct Steam_Networking_Connection *conn = get_or_create_connection(source_id);
|
||||
conn->open_channels.insert(msg.network().channel());
|
||||
|
|
Loading…
Reference in a new issue