mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2024-12-26 22:56:43 +02:00
Mtn: fix uranium processing trigger tech
This commit is contained in:
parent
eef1730ead
commit
a8f2db5fe2
@ -114,6 +114,8 @@ local change_force_for_drills_token =
|
||||
function (event)
|
||||
local entity = event.entity
|
||||
if not entity or not entity.valid then return end
|
||||
local tech = game.forces.player.technologies['uranium-processing'].researched
|
||||
if not tech then return end
|
||||
entity.force = 'bonus_drill'
|
||||
end
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user