diff options
-rw-r--r-- | convert/read_static.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/convert/read_static.go b/convert/read_static.go index 2f62473..3e7dc30 100644 --- a/convert/read_static.go +++ b/convert/read_static.go @@ -46,7 +46,7 @@ func readPointedThing(l *lua.LState, val lua.LValue, ptr *mt.PointedThing) { } id := l.GetField(val, "id") - if id == lua.LNil { + if id != lua.LNil { pt := &mt.PointedAO{} readAOID(l, id, &(*pt).ID) *ptr = pt |