chore: better logs when a new harvester is detected

This commit is contained in:
Guillaume ARM 2024-05-22 19:37:58 +02:00
parent 43c936bf3b
commit c555e4e0fc

View File

@ -55,7 +55,7 @@ local function getConfig(computerId)
local config = getConfigForComputer(computerId) local config = getConfigForComputer(computerId)
if not config then if not config then
print('getconfig warning: no plan found for computerID ' .. tostring(computerId)) print('new harvester detected: ' .. tostring(computerId))
setConfigForComputer(computerId, defaultConfig) setConfigForComputer(computerId, defaultConfig)
config = defaultConfig config = defaultConfig
end end