Skip to content

Commit

Permalink
better hs version check
Browse files Browse the repository at this point in the history
  • Loading branch information
ChronoVortex committed Apr 7, 2023
1 parent f80189b commit df7a33f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/vertex_module/util.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
if not Hyperspace.version or Hyperspace.version.major < 1 or Hyperspace.version.minor < 3 then
if not (Hyperspace.version and Hyperspace.version.major == 1 and Hyperspace.version.minor >= 3) then
error("Incorrect Hyperspace version detected! Vertex Tags and Utility Functions requires Hyperspace 1.3+")
end

Expand Down

0 comments on commit df7a33f

Please sign in to comment.