From 4b8aa3e8584fb71d6355d56db237e2792c51b114 Mon Sep 17 00:00:00 2001 From: TheHomecraft Date: Wed, 29 Oct 2025 13:45:08 +0100 Subject: [PATCH] allowed for non-wireless modem setup Hardcoded that the Application thinks its in an emulated env to thus allow the use of Wired modems instead of Wireless (because who wants to use wireless modems??!) --- scada-common/ppm.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scada-common/ppm.lua b/scada-common/ppm.lua index ea310a3..c8a5642 100644 --- a/scada-common/ppm.lua +++ b/scada-common/ppm.lua @@ -453,7 +453,7 @@ function ppm.get_fission_reactor() return ppm.get_device("fissionReactorLogicAda ---@return Modem|nil modem function table function ppm.get_wireless_modem() local w_modem = nil - local emulated_env = periphemu ~= nil + local emulated_env = true for _, device in pairs(ppm_sys.mounts) do if device.type == "modem" and (emulated_env or device.dev.isWireless()) then