mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2025-02-24 11:17:11 +00:00
parse port number as ushort
This commit is contained in:
parent
d295665f85
commit
3aa09f9f04
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ namespace SanAndreasUnity.UI
|
|||
{
|
||||
try
|
||||
{
|
||||
int port = int.Parse(m_portStr);
|
||||
ushort port = ushort.Parse(m_portStr);
|
||||
string scene = m_availableScenes[m_selectedSceneIndex];
|
||||
ushort maxNumPlayers = ushort.Parse(m_maxNumPlayersStr);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue