mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-01-17 00:05:07 -05:00
Update vehicle_control_device.java
Small adjustment here to make this more logical, show "Lava Resistance: 100%" attribute if the template already has resistance OR if the lava resistance kit has been used on the vehicle, not just if the kit has been used.
This commit is contained in:
@@ -378,7 +378,7 @@ public class vehicle_control_device extends script.base_script
|
||||
return SCRIPT_CONTINUE;
|
||||
}
|
||||
}
|
||||
if(hasObjVar(self, vehicle.VAR_LAVA_RESISTANT))
|
||||
if(vehicle.isLavaResistant(self))
|
||||
{
|
||||
names[idx] = "lava_resistance";
|
||||
attribs[idx] = "100%";
|
||||
|
||||
Reference in New Issue
Block a user