@@ -26,7 +26,7 @@ GNU General Public License for more details.
2626You should have received a copy of the GNU General Public License
2727along 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--[[
3232When you enter a system:
@@ -48,6 +48,7 @@ local timeouthook
4848local seller = nil
4949local NPC_name = _ (" A vending machine of a map seller" )
5050local older_than_ver012a2 = naev .versionTest (naev .version ()," 0.12.0-alpha.1" )<= 0
51+ local older_than_ver0122 = naev .versionTest (naev .version ()," 0.12.2" )<= 0
5152
5253function hasLocalMap ()
5354if player .outfitNum then
@@ -124,8 +125,10 @@ Would you buy the local system map?]]), {cost=fmt.credits(cost)})) then
124125player .pay (- cost )
125126player .outfitAdd (" Local System Map" )
126127player .msg (_ (" You got the local system map." ))
127- -- setKnown() calls ovr_refresh() as a side effect.
128- system .cur ():setKnown (true )
128+ if older_than_ver0122 then
129+ -- setKnown() calls ovr_refresh() as a side effect.
130+ system .cur ():setKnown (true )
131+ end
129132end
130133end
131134player .commClose ()