Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2c85b0f

Browse files
committed
Naev 0.12.2 doesn't need a workaround.
1 parent7e24c56 commit2c85b0f

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

‎events/local_system_map_seller.lua‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ GNU General Public License for more details.
2626
You should have received a copy of the GNU General Public License
2727
along with this plugin. If not, see <http://www.gnu.org/licenses/>.
2828
29-
Copyright © 2023, 2024 OOTA, Masato
29+
Copyright © 2023-2025 OOTA, Masato
3030
--]]
3131
--[[
3232
When you enter a system:
@@ -48,6 +48,7 @@ local timeouthook
4848
localseller=nil
4949
localNPC_name=_("A vending machine of a map seller")
5050
localolder_than_ver012a2=naev.versionTest(naev.version(),"0.12.0-alpha.1")<=0
51+
localolder_than_ver0122=naev.versionTest(naev.version(),"0.12.2")<=0
5152

5253
functionhasLocalMap ()
5354
ifplayer.outfitNumthen
@@ -124,8 +125,10 @@ Would you buy the local system map?]]), {cost=fmt.credits(cost)})) then
124125
player.pay(-cost)
125126
player.outfitAdd("Local System Map")
126127
player.msg(_("You got the local system map."))
127-
-- setKnown() calls ovr_refresh() as a side effect.
128-
system.cur():setKnown(true)
128+
ifolder_than_ver0122then
129+
-- setKnown() calls ovr_refresh() as a side effect.
130+
system.cur():setKnown(true)
131+
end
129132
end
130133
end
131134
player.commClose()

‎plugin.xml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<author>oo13 @ github</author>
44
<version>1.1</version>
55
<description>A plugin to get the local system maps easily. You can remove this plugin without any side effects anytime you like.</description>
6-
<compatibility>^0\.1[012]\..*</compatibility>
6+
<compatibility>^0\.1[0123]\..*</compatibility>
77
<source>https://github.com/oo13/easy_mapping_plugin_for_naev</source>
88
</plugin>
99
<!--
@@ -20,5 +20,5 @@ GNU General Public License for more details.
2020
You should have received a copy of the GNU General Public License
2121
along with this plugin. If not, see <http://www.gnu.org/licenses/>.
2222
23-
Copyright © 2023, 2024 OOTA, Masato
23+
Copyright © 2023-2025 OOTA, Masato
2424
-->

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp