mirror of
https://github.com/barronwaffles/dwc_network_server_emulator.git
synced 2026-08-20 17:45:23 -05:00
Backend: Fix KeyError during NATNEG init
This commit is contained in:
@@ -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]:
|
||||
|
||||
Reference in New Issue
Block a user