Skip to content

Commit

Permalink
Merge pull request #26837 from BevapDin/hrs
Browse files Browse the repository at this point in the history
Update vehicle::last_update after unfolding it.
ZhilkinSerg authored Nov 25, 2018

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 05cf317 + 9b87013 commit 45700fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/vehicle.cpp
Original file line number Diff line number Diff line change
@@ -4519,6 +4519,7 @@ bool vehicle::restore( const std::string &data )
turn( 0 );
precalc_mounts( 0, pivot_rotation[0], pivot_anchor[0] );
precalc_mounts( 1, pivot_rotation[1], pivot_anchor[1] );
last_update = calendar::turn;
return true;
}

0 comments on commit 45700fe

Please sign in to comment.