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??!)
This commit is contained in:
parent
c6d526163f
commit
4b8aa3e858
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user