|
|
|
|
|
by snappy173
3263 days ago
|
|
addEventListener("beforeboarding", function() {
if(booked > capacity) {
let price = ticket.faceValue;
let ticketsToBuy = booked - capacity;
while (ticketsToBuy > 0) {
if (offerToBuyBackTicket(price)) {
ticketsToBuy--;
} else {
price++;
}
//if (price > limit) {
// callInPinkertonThugs();
// return;
//}
}
}
}
|
|