Skip to content

Commit

Permalink
Merge pull request mas-bandwidth#198 from EkajArmstro/update-usage-ra…
Browse files Browse the repository at this point in the history
…ndom-bytes

update USAGE.md to reflect change in name of yojimbo_random_bytes
  • Loading branch information
gafferongames authored Mar 31, 2024
2 parents 407bb33 + 3b4a11c commit 1898344
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ OnlineGameScreen::OnlineGameScreen(const yojimbo::Address& serverAddress) :
m_client(yojimbo::GetDefaultAllocator(), yojimbo::Address("0.0.0.0"), m_connectionConfig, m_adapter, 0.0)
{
uint64_t clientId;
yojimbo::random_bytes((uint8_t*)&clientId, 8);
yojimbo_random_bytes((uint8_t*)&clientId, 8);
m_client.InsecureConnect(DEFAULT_PRIVATE_KEY, clientId, m_serverAddress);
}
```
Expand Down

0 comments on commit 1898344

Please sign in to comment.