fix: UDP Port not being updated correctly when loading provider from recents file

This commit is contained in:
WerWolv
2025-05-29 18:26:07 +02:00
parent 11e70511e6
commit f591ac8780

View File

@@ -40,7 +40,7 @@ namespace hex::plugin::builtin {
return "hex.builtin.provider.udp";
}
std::string getName() const override { return hex::format("hex.builtin.provider.udp.name"_lang, m_udpServer.getPort()); }
std::string getName() const override { return hex::format("hex.builtin.provider.udp.name"_lang, m_port); }
protected:
void receive(std::span<const u8> data);