mirror of
https://github.com/janishutz/MusicPlayerV2.git
synced 2025-11-25 13:04:23 +00:00
Bar utility: Fix error
This commit is contained in:
@@ -90,7 +90,8 @@
|
|||||||
totalPrice += o * offering.value[ selectedBar.value ].offering[ keys[ i ] ].price;
|
totalPrice += o * offering.value[ selectedBar.value ].offering[ keys[ i ] ].price;
|
||||||
totalPrice += o * ( offering.value[ selectedBar.value ].offering[ keys[ i ] ].depot ?? 0 );
|
totalPrice += o * ( offering.value[ selectedBar.value ].offering[ keys[ i ] ].depot ?? 0 );
|
||||||
|
|
||||||
if ( offering.value[ selectedBar.value ].offering[ keys[ i ] ].depot ?? 0 > 0 ) cashinInDepot = true;
|
if ( ( offering.value[ selectedBar.value ].offering[ keys[ i ] ].depot ?? 0 ) > 0 && o > 0 )
|
||||||
|
cashinInDepot = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return totalPrice / 100;
|
return totalPrice / 100;
|
||||||
|
|||||||
Reference in New Issue
Block a user