mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
local items = require 'config'
|
local items = require 'config'
|
||||||
local main = require 'main'
|
local main = require 'main'
|
||||||
|
|
||||||
if mods['space-age'] then
|
do
|
||||||
local vp = settings.startup['PHI-VP'].value and settings.startup['PHI-VP-MAIN'].value
|
local vp = settings.startup['PHI-VP'].value and settings.startup['PHI-VP-MAIN'].value
|
||||||
local sa = settings.startup['PHI-SA'].value and settings.startup['PHI-SA-GENERIC'].value
|
local sa = settings.startup['PHI-SA'].value and settings.startup['PHI-SA-GENERIC'].value
|
||||||
|
|
||||||
@@ -11,7 +11,7 @@ if mods['space-age'] then
|
|||||||
end
|
end
|
||||||
|
|
||||||
if (vp or sa) and v.maximum_productivity then
|
if (vp or sa) and v.maximum_productivity then
|
||||||
v.maximum_productivity = 99
|
v.maximum_productivity = nil
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user