Skip to content

Commit

Permalink
Changed assumption on pickedup from false to use isPickupCancelled()
Browse files Browse the repository at this point in the history
  • Loading branch information
Talamar1 committed Jun 11, 2015
1 parent a157b8e commit 68b34a7
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -110,7 +110,7 @@ public HashMap<String, dObject> getContext() {
public void onVehicleCollidesEntity(VehicleEntityCollisionEvent event) {
entity = new dEntity(event.getEntity());
vehicle = new dEntity(event.getVehicle());
pickup_cancel = false;
pickup_cancel = event.isPickupCancelled();
cancelled = event.isCancelled();
this.event = event;
fire();
Expand Down

0 comments on commit 68b34a7

Please sign in to comment.