16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-18 04:19:19 +02:00

Shouldn't take any keyword as random condition anymore.

This commit is contained in:
stele
2021-01-25 00:30:22 +01:00
parent f92a355e89
commit ea6e757416

View File

@@ -191,7 +191,7 @@ basic_event::event_conditions::deserialize( cParser &Input ) {
else if( token == "trackfree" ) {
flags |= flags::track_free;
}
else if( token == "propability" || "probability") { //remove propability in few years after changing old scenery scripts 01.2021
else if( ( token == "propability" ) || ( token == "probability" )) { //remove propability in few years after changing old scenery scripts 01.2021
flags |= flags::probability;
Input.getTokens();
Input >> probability;