Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions control.lua
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ function stargate.OpenMenu(ply,e,gate)
menu.toolbar=fflow
menu.title=fflow.add{name="stargate_title",type="label",style="heading_1_label",drag_target=menu.frame,caption=gate.name,drag_target=menu.frame}
menu.rntxt=fflow.add{name="stargate_rename_txt",type="textfield",visible=false,text=gate.name}
menu.rename=fflow.add{name="stargate_rename",type="sprite-button",sprite="utility/rename_icon_small",style="tool_button",visible=(e.force==ply.force)} --small_slot_button
menu.rename=fflow.add{name="stargate_rename",type="sprite-button",sprite="utility/rename_icon_small_black",style="tool_button",visible=(e.force==ply.force)} --small_slot_button

menu.dragbar=fflow.add{type="empty-widget",direction="horizontal",style="draggable_space_header"}
menu.dragbar.drag_target=menu.frame
Expand Down Expand Up @@ -1032,4 +1032,4 @@ function stargate.Shutdown(gate)
end


lib.lua()
lib.lua()
8 changes: 4 additions & 4 deletions info.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "stargate",
"version": "0.1.0",
"version": "0.1.3",
"title": "Stargate",
"author": "PyroFire",
"dependencies": ["base >= 0.18"],
"dependencies": ["base >= 1.0"],
"description": "Factorio but with stargates",
"factorio_version": "0.18",
"factorio_version": "1.0",
"homepage":"none"
}
}