mirror of
https://github.com/barronwaffles/dwc_network_server_emulator.git
synced 2026-03-21 17:34:21 -05:00
Backend: Fix KeyError during NATNEG init
This commit is contained in:
parent
78ea73840d
commit
e3ec45baf3
|
|
@ -547,6 +547,9 @@ class GameSpyBackendServer(object):
|
|||
localip_int_be = localaddr[3]
|
||||
|
||||
def find_server(gameid):
|
||||
if gameid not in self.server_list:
|
||||
return None
|
||||
|
||||
best_match = None
|
||||
|
||||
for server in self.server_list[gameid]:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user