Use sane default if leash length is 0

This should never happen tho
This commit is contained in:
lickx
2026-02-15 13:49:13 +01:00
parent bcfe397138
commit 8659213ab2

View File

@@ -164,6 +164,7 @@ integer CheckCommandAuth(key kCmdGiver, integer iAuth)
SetLength(integer iIn)
{
if (iIn == 0) iIn = 3; // i had a rare edge case where this happened
g_iLength = iIn;
if (g_kLeashedTo != NULL_KEY) {
llTargetRemove(g_iTargetHandle);