From 32cecbef1c35056050cbd4a1cd054de555760ee8 Mon Sep 17 00:00:00 2001 From: Lorenzo Cogotti Date: Thu, 1 Sep 2022 08:57:26 +0200 Subject: [PATCH] [rect] Make rotatesincos() require() path safer. --- rect.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rect.lua b/rect.lua index 4131b59..e28263d 100644 --- a/rect.lua +++ b/rect.lua @@ -6,7 +6,7 @@ -- @copyright 2022 The DoubleFourteen Code Forge -- @author Lorenzo Cogotti -local rotatesincos = require((...):gsub('rect', '')..'vec').rotatesincos +local rotatesincos = require((...):gsub('rect$', '')..'vec').rotatesincos local min, max = math.min, math.max local abs = math.abs