broken after september update
Broken after update
I sent the Dev a message through here. Hopefully he will hook it up. I love this plugin.
In case anyone comes across this, we made the following changes and have been using this plugin for a while. Hopefully it helps.
223,224c223,224
< var vehicle = player.GetMountedVehicle();
< BasePlayer driver = vehicle.GetDriver();
---
> var vehicle = player?.GetMountedVehicle();
> BasePlayer driver = vehicle?.GetDriver();
226d225
< if (vehicle == null) return;
242,243c241,242
< scrap.thwopGainMin = data.cTGMi;
< scrap.thwopGainMax = data.cTGMa;
---
> // scrap.thwopGainMin = data.cTGMi;
> // scrap.thwopGainMax = data.cTGMa;
247c246
< else if (vehicle as MiniCopter)
---
> else if (vehicle as Minicopter)
249c248
< var copter = vehicle as MiniCopter;
---
> var copter = vehicle as Minicopter;
261,262c260,261
< copter.thwopGainMin = data.mTGMi;
< copter.thwopGainMax = data.mTGMa;
---
> // copter.thwopGainMin = data.mTGMi;
> // copter.thwopGainMax = data.mTGMa;