Skip to content

Commit 81c415a

Browse files
committed
analyzervehicle: take armed state when creating subclassed object
1 parent 38fc45f commit 81c415a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

analyzervehicle.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ void Base::take_state(Base *old)
143143
{
144144
_param.insert(old->_param.begin(), old->_param.end());
145145
_param_T.insert(old->_param_T.begin(), old->_param_T.end());
146+
set_armed(old->is_armed());
146147
}
147148

148149
bool Base::param_seen(const std::string name) const

0 commit comments

Comments
 (0)