[TASK] style boat damage screen
This commit is contained in:
@ -92,7 +92,8 @@ function reloadPage() {
|
||||
}
|
||||
|
||||
function setMaxAmountRowers(rowers: number, isShipmasterSteering='false') {
|
||||
let curSelection = choiceObjects['newrower'].getValue(true);
|
||||
if(choiceObjects['newrower']) {
|
||||
let curSelection = choiceObjects['newrower'].getValue(true);
|
||||
let amount_to_delete = (<any>curSelection).length - rowers;
|
||||
|
||||
if (amount_to_delete > 0){
|
||||
@ -135,6 +136,7 @@ function setMaxAmountRowers(rowers: number, isShipmasterSteering='false') {
|
||||
only_steering.parentElement?.parentElement?.parentElement?.classList.add('opacity-50');
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function initBoatActions() {
|
||||
|
Reference in New Issue
Block a user