Bumped nugget version

This commit is contained in:
2025-04-12 17:42:34 +02:00
parent 8699ea7845
commit f8ab161270
3 changed files with 4 additions and 2 deletions

Binary file not shown.

View File

@@ -45,9 +45,11 @@ static int gameobjectSetPosition(psyqo::Lua L) {
psyqo::FixedPoint<> x(L.toNumber(3), psyqo::FixedPoint<>::RAW); psyqo::FixedPoint<> x(L.toNumber(3), psyqo::FixedPoint<>::RAW);
go->position.x = x; go->position.x = x;
L.pop(); L.pop();
L.getField(2, "y");
psyqo::FixedPoint<> y(L.toNumber(3), psyqo::FixedPoint<>::RAW); psyqo::FixedPoint<> y(L.toNumber(3), psyqo::FixedPoint<>::RAW);
go->position.y = y; go->position.y = y;
L.pop(); L.pop();
L.getField(2, "z");
psyqo::FixedPoint<> z(L.toNumber(3), psyqo::FixedPoint<>::RAW); psyqo::FixedPoint<> z(L.toNumber(3), psyqo::FixedPoint<>::RAW);
go->position.z = z; go->position.z = z;
L.pop(); L.pop();
@@ -156,7 +158,7 @@ void psxsplash::Lua::CallOnCollide(GameObject* self, GameObject* other) {
PushGameObject(self); PushGameObject(self);
PushGameObject(other); PushGameObject(other);
if (L.pcall(2, 0, errfunc) != LUA_OK) { if (L.pcall(2, 0) != LUA_OK) {
printf("Lua error: %s\n", L.toString(-1)); printf("Lua error: %s\n", L.toString(-1));
L.pop(); L.pop();
} }