win 7 64 bit
this is my control.lua
Code: Select all
require "defines"
if game.player.gui.top.menu_top == nil then
game.player.gui.top.add({type="frame", name="menu_top", caption="Factorio Maps", direction="vertical"})
end

code works fine when entered from the console ingame.