Skip to content

Commit

Permalink
Automatically close the minimap after teleporting
Browse files Browse the repository at this point in the history
  • Loading branch information
Quezler committed Dec 21, 2023
1 parent 3dcc894 commit f2b60f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions mods/se-space-capsule-fast-travel/control.lua
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,6 @@ script.on_event(defines.events.on_player_selected_area, function(event)
text = string.format("%d [item=%s]'s left", left, price),
position = center,
})

player.close_map()
end)
2 changes: 1 addition & 1 deletion mods/se-space-capsule-fast-travel/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "se-space-capsule-fast-travel",
"title": "Space Exploration - space capsule fast travel",
"description": "Allows you to emergency burn anywhere using the shortcut, pretty much a teleport that damages your capsule.",
"version": "1.0.10",
"version": "1.0.11",
"author": "Quezler",
"factorio_version": "1.1",
"dependencies": [
Expand Down

0 comments on commit f2b60f8

Please sign in to comment.