mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-01-18 03:21:47 +02:00
parent
8b0febb478
commit
8db491634d
@ -10,7 +10,7 @@ local function player_built_entity(event)
|
||||
if entity.name == 'train-stop' then
|
||||
local y = math.random(1, 3)
|
||||
if y ~= 1 then
|
||||
local x = math.random(1, #Game.players)
|
||||
local x = math.random(1, #game.players)
|
||||
local player = Game.get_player_by_index(x)
|
||||
event.created_entity.backer_name = player.name
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user