mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-10-16 07:13:29 -04:00
Fixed issue where instrument location was set, but it was not correct.
This commit is contained in:
Regular → Executable
+1
-1
@@ -160,7 +160,7 @@ public class instrument extends script.base_script
|
||||
if (utils.hasScriptVar(self, "instrument.loc"))
|
||||
{
|
||||
location where = getLocationObjVar(self, "instrument.loc");
|
||||
if (!where.equals(getLocation(self)))
|
||||
if (where == null || !where.equals(getLocation(self)))
|
||||
{
|
||||
if (hasObjVar(self, "instrument.owner"))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user