Many Lua functions (for example, sgs_object_get_name()) attempt to acquire instances without checking first to see if those instances are allocated. We should add more sophisticated error checking to prevent crashes in the event that a script happens to use the wrong instance ID in a script function call.
Many Lua functions (for example,
sgs_object_get_name()
) attempt to acquire instances without checking first to see if those instances are allocated. We should add more sophisticated error checking to prevent crashes in the event that a script happens to use the wrong instance ID in a script function call.