commit 21ed82ea6b2a830004c4f8cc8910f1f7a5083833
Author: jtothebell <j.to.the.bell@gmail.com>
AuthorDate: Sat Apr 17 09:20:44 2021 -0600
Commit: jtothebell <j.to.the.bell@gmail.com>
CommitDate: Sat Apr 17 09:20:44 2021 -0600
Fix regression in simple palt usage
---
source/picoluaapi.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/source/picoluaapi.cpp b/source/picoluaapi.cpp
index 9fb11a0..2396624 100644
--- a/source/picoluaapi.cpp
+++ b/source/picoluaapi.cpp
@@ -640,6 +640,7 @@ int palt(lua_State *L) {
}
}
else {
+ c = lua_tonumber(L,1);
bool t = lua_toboolean(L,2);
prev = _graphicsForLuaApi->palt(c, t);
}