Resolved a missing parameter in func host_game for port

This commit is contained in:
Rico 2020-06-26 13:14:09 -05:00
parent b674ef3ff4
commit 014c841ac9

View file

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