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 23:06:27 +02:00
parent f06d0e444f
commit b85b3c0bac

View file

@ -85,7 +85,7 @@ namespace SanAndreasUnity.UI
{
try
{
NetManager.StartClient(m_ipStr, int.Parse(m_portStr));
NetManager.StartClient(m_ipStr, ushort.Parse(m_portStr));
}
catch (System.Exception ex)
{