[2.0.15] Crash running command (Commander::setMultiCommand)

Things that has been reported already before.
User avatar
Gerkiz
Long Handed Inserter
Long Handed Inserter
Posts: 69
Joined: Fri Nov 30, 2018 3:36 pm
Contact:

[2.0.15] Crash running command (Commander::setMultiCommand)

Post by Gerkiz »

Hello,

I get a crash when running the following command. Tried it on 2.0.14 and 2.0.15 - both crashed.

1. Start Factorio
2. Ctrl + left mouse button on "Single player"
3. Run the command that is below
4. Crash

Code: Select all

/c
local character = game.player.character
if not character or not character.valid then
    return
end

local surface = character.surface
surface.set_multi_command(
    {
        command = {
            type = defines.command.go_to_location,
            destination_entity = character,
            radius = 32,
            distraction = defines.distraction.by_enemy
        },
        unit_count = 512,
        force = 'enemy',
        unit_search_distance = 32
    }
)
/Gerkiz
Attachments
factorio-current.log
(13.7 KiB) Downloaded 13 times
Post Reply

Return to “Duplicates”