Update src/script/cpp_api/s_base.cpp
Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com>
This commit is contained in:
parent
328c565b4e
commit
ddbcb8b9e0
@ -432,7 +432,7 @@ void ScriptApiBase::setOriginFromTableRaw(int index, const char *fxn)
|
||||
/*
|
||||
* How ObjectRefs are handled in Lua:
|
||||
* When an active object is created, an ObjectRef is created on the Lua side
|
||||
* and stored in core.object_refs[id] and in core.objects_by_guids[[GUID].
|
||||
* and stored in core.object_refs[id] and in core.objects_by_guids[GUID].
|
||||
* Methods that require an ObjectRef to a certain object retrieve it from that
|
||||
* table instead of creating their own.(*)
|
||||
* When an active object is removed, the existing ObjectRef is invalidated
|
||||
|
Loading…
Reference in New Issue
Block a user