mirror of
https://github.com/godotengine/godot.git
synced 2025-02-16 15:50:45 +00:00
UPNP: Don't delete mappings when adding mappings
Don't delete previous mappings when adding a new mapping. This was a old workaround that seems to cause issues.
This commit is contained in:
parent
8cb51a642e
commit
2685cc7bb6
@ -319,8 +319,6 @@ int UPNP::add_port_mapping(int port, int port_internal, String desc, String prot
|
|||||||
return UPNP_RESULT_NO_GATEWAY;
|
return UPNP_RESULT_NO_GATEWAY;
|
||||||
}
|
}
|
||||||
|
|
||||||
dev->delete_port_mapping(port, proto);
|
|
||||||
|
|
||||||
return dev->add_port_mapping(port, port_internal, desc, proto, duration);
|
return dev->add_port_mapping(port, port_internal, desc, proto, duration);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user