Skip to content

Commit

Permalink
Fix remote vehicles teleporting when folding (CleverRaven#37974)
Browse files Browse the repository at this point in the history
* One and only
  • Loading branch information
saurocyte authored Feb 22, 2020
1 parent a4ad844 commit 42d9e25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vehicle_use.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@ bool vehicle::fold_up()
bicycle.set_var( "description", string_format( _( "A folded %s." ), name ) );
}

g->m.add_item_or_charges( g->u.pos(), bicycle );
g->m.add_item_or_charges( global_part_pos3( 0 ), bicycle );
g->m.destroy_vehicle( this );

// TODO: take longer to fold bigger vehicles
Expand Down

0 comments on commit 42d9e25

Please sign in to comment.