mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 16:19:19 +02:00
Sanding works only when direction is set
This commit is contained in:
@@ -2714,7 +2714,7 @@ bool TMoverParameters::Sandbox( bool const State, range_t const Notify )
|
|||||||
if( SandDose != State ) {
|
if( SandDose != State ) {
|
||||||
if( SandDose == false ) {
|
if( SandDose == false ) {
|
||||||
// switch on
|
// switch on
|
||||||
if( Sand > 0 ) {
|
if(( Sand > 0 ) && ( DirActive != 0 )) {
|
||||||
SandDose = true;
|
SandDose = true;
|
||||||
result = true;
|
result = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user