1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-12 10:04:40 +02:00

fixed triangle_of_death

This commit is contained in:
grilledham 2018-12-12 22:01:59 +00:00
parent 1942f0cf0f
commit e8275890b6

View File

@ -5,6 +5,7 @@ local Token = require 'utils.token'
local Global = require 'utils.global'
local Event = require 'utils.event'
local degrees = require "utils.math".degrees
require 'utils.table'
-- change these to change the pattern.
local ore_seed1 = 30000
@ -295,7 +296,7 @@ local function loot(x, y)
name = name,
force = 'neutral',
callback = callback,
data = {power = loot_power / d, seed = generator(4294967295)}
data = {power = loot_power / d_sq, seed = generator(4294967295)}
}
return entity