mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
prepend_scn feature
This commit is contained in:
@@ -91,6 +91,10 @@ state_serializer::deserialize_begin( std::string const &Scenariofile ) {
|
||||
state->functionmap.emplace( function.first, std::bind( function.second, this, std::ref( state->input ), std::ref( state->scratchpad ) ) );
|
||||
}
|
||||
|
||||
if (!Global.prepend_scn.empty()) {
|
||||
state->input.injectString(Global.prepend_scn);
|
||||
}
|
||||
|
||||
return state;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user