From 48f5926f1dba54b82e0728a9a45b7b96ae10c207 Mon Sep 17 00:00:00 2001 From: Cogi Asd Date: Mon, 8 Jul 2024 22:13:16 +0300 Subject: [PATCH] small fix in libvecn.cpp --- src/logic/scripting/lua/libvecn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/logic/scripting/lua/libvecn.cpp b/src/logic/scripting/lua/libvecn.cpp index d711a13a..a0e15499 100644 --- a/src/logic/scripting/lua/libvecn.cpp +++ b/src/logic/scripting/lua/libvecn.cpp @@ -149,7 +149,7 @@ static int l_dot(lua::State* L) { if (argc == 2) { const auto& a = lua::tovec(L, 1); const auto& b = lua::tovec(L, 2); - return lua::pushnumber(L, glm::dot(a, b));; + return lua::pushnumber(L, glm::dot(a, b)); } else if (argc == 3) { const auto& a = lua::tovec(L, 1); const auto& b = lua::tovec(L, 2);