Resolved a missing parameter in func host_game for port
This commit is contained in:
parent
b674ef3ff4
commit
014c841ac9
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ func host_game(port):
|
|||
var host = NetworkedMultiplayerENet.new()
|
||||
host.create_server(port)
|
||||
get_tree().set_network_peer(host)
|
||||
print("Hosting on port ",host_port)
|
||||
print("Hosting on port ",port)
|
||||
$HostPanel/HostGameBtn.disabled = 1
|
||||
$HostPanel/HostGameBtn.hint_tooltip = "Cannot start another server, Server already started."
|
||||
$JoinPanel/JoinGameBtn.disabled = 1
|
||||
|
|
Loading…
Add table
Reference in a new issue