Added debugging and prevented further resolution of vehicle attributes if cant resolve self.

This commit is contained in:
Cekis
2016-05-29 07:31:26 +01:00
parent e8fc55106e
commit aee6793984
@@ -344,6 +344,7 @@ public class vehicle_control_device extends script.base_script
debugServerConsoleMsg(self, "My Owner: " + getOwner(self));
debugServerConsoleMsg(self, "My Location: " + getLocation(self));
debugServerConsoleMsg(self, "My Scene: " + getLocation(self).area);
debugServerConsoleMsg(self, "My Template: " + getTemplateName(self));
return SCRIPT_CONTINUE;
}
int idx = utils.getValidAttributeIndex(names);