Skip to content

Commit 1b77985

Browse files
committed
fix(SDK): Teleport Angles
1 parent e99e9a2 commit 1b77985

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scripting/sdk/schema.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ void SchemaCallback(PluginObject plugin, EContext* ctx) {
170170

171171
if (pos && pos->HasData("vector_ptr"))
172172
po = pos->GetDataOr<Vector>("vector_ptr", po);
173-
if (ang && ang->HasData("vector_ptr"))
173+
if (ang && ang->HasData("QAngle_ptr"))
174174
an = ang->GetDataOr<QAngle>("QAngle_ptr", an);
175175
if (vel && vel->HasData("vector_ptr"))
176176
ve = vel->GetDataOr<Vector>("vector_ptr", ve);

0 commit comments

Comments
 (0)