aboutsummaryrefslogtreecommitdiff
path: root/primedev/squirrel
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2024-07-10 15:13:31 +0200
committerGitHub <noreply@github.com>2024-07-10 15:13:31 +0200
commitacdfefdc335d5c7817c52986103d0ef2ce522ec9 (patch)
tree1c15c4a19d7d4bb955909fd738460f3fbc4d4558 /primedev/squirrel
parent52b11022997c834efd2b50234e1e664603806503 (diff)
downloadNorthstarLauncher-acdfefdc335d5c7817c52986103d0ef2ce522ec9.tar.gz
NorthstarLauncher-acdfefdc335d5c7817c52986103d0ef2ce522ec9.zip
Fix typo in class member function (#750)
`pushSQObject` does not exist Co-authored-by: EladNLG <e1lad8955@gmail.com>
Diffstat (limited to 'primedev/squirrel')
-rw-r--r--primedev/squirrel/squirrel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/primedev/squirrel/squirrel.h b/primedev/squirrel/squirrel.h
index 1054de7f..1225f909 100644
--- a/primedev/squirrel/squirrel.h
+++ b/primedev/squirrel/squirrel.h
@@ -447,7 +447,7 @@ inline VoidFunction SQMessageBufferPushArg(Vector3& arg) {
// Vectors
template <ScriptContext context>
inline VoidFunction SQMessageBufferPushArg(SQObject* arg) {
- return [arg]{ g_pSquirrel<context>->pushSQObject(g_pSquirrel<context>->m_pSQVM->sqvm, arg); };
+ return [arg]{ g_pSquirrel<context>->pushobject(g_pSquirrel<context>->m_pSQVM->sqvm, arg); };
}
// Ints
template <ScriptContext context, typename T>