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:
parent
f06d0e444f
commit
b85b3c0bac
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue