Removed verbose console
Signed-off-by: James Ketrenos <james_eikona@ketrenos.com>
This commit is contained in:
parent
7babaee861
commit
428bd9a26c
@ -1947,11 +1947,10 @@ const trade = (game, session, action, offer) => {
|
||||
continue;
|
||||
}
|
||||
/* Comparison reverses give/get order */
|
||||
if (isSameOffer(other, { gives: offer.gets, gets: offer.gives }) && other.offerRejected) {
|
||||
console.log('clear rejection', other, offer);
|
||||
delete other.offerRejected[session.color];
|
||||
} else {
|
||||
console.log('do not clear rejection', other, offer);
|
||||
if (isSameOffer(other, { gives: offer.gets, gets: offer.gives })) {
|
||||
if (other.offerRejected) {
|
||||
delete other.offerRejected[session.color];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user