Skip to content

Commit

Permalink
added error for bad HS version
Browse files Browse the repository at this point in the history
  • Loading branch information
ChronoVortex committed Mar 13, 2023
1 parent fbda929 commit f671971
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions data/vertex_module/util.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
if not Hyperspace.version or Hyperspace.version.major < 1 or Hyperspace.version.minor < 3 then
error("Incorrect Hyperspace version detected! Vertex Tags and Utility Functions requires Hyperspace 1.3+")
end

mods.vertexutil = {}
local INT_MAX = 2147483647

Expand Down
2 changes: 1 addition & 1 deletion mod-appendix/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<title><![CDATA[ Vertex Tags and Utility Functions ]]></title>
<threadUrl><![CDATA[ https://github.com/ChronoVortex/FTL-HS-Vertex ]]></threadUrl>
<author><![CDATA[ Vertaalfout, Chrono Vortex ]]></author>
<version><![CDATA[ 1.12 ]]></version>
<version><![CDATA[ 1.13 ]]></version>
<description>
<![CDATA[
This mod has no content, instead adding new tags and LUA utility functions for other mods to build off of.
Expand Down

0 comments on commit f671971

Please sign in to comment.