2
0
Fork 0
mirror of https://github.com/GTA-ASM/SanAndreasUnity synced 2025-02-24 19:27:16 +00:00

parse port number as ushort

This commit is contained in:
in0finite 2019-06-25 22:56:13 +02:00
parent d295665f85
commit 3aa09f9f04

View file

@ -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);