mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 15:48:21 +00:00
Fix llDetectedName return value.
Astonishingly, llDetectedName returns NULL_KEY for invalid indices.
This commit is contained in:
parent
d8cf384ccc
commit
65d3f1130a
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ def llDetectedName(idx, event=None):
|
|||
assert isinteger(idx)
|
||||
if 0 <= idx <= 15 and (event in DetectionEvents or event is None):
|
||||
raise ELSLCantCompute
|
||||
return u''
|
||||
return NULL_KEY;
|
||||
|
||||
def llDetectedOwner(idx, event=None):
|
||||
assert isinteger(idx)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue