Bugfix: the "rest" is added but was never subtracted. (#120)

This commit is contained in:
Thomas Arp 2022-11-16 23:08:51 +01:00 committed by GitHub
parent e9c9808a24
commit 7f495670f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -546,7 +546,6 @@ ACMD(do_split)
if (rest) {
send_to_char(ch, "%d coin%s %s not splitable, so you keep the money.\r\n",
rest, (rest == 1) ? "" : "s", (rest == 1) ? "was" : "were");
increase_gold(ch, rest);
}
} else {
send_to_char(ch, "How many coins do you wish to split with your group?\r\n");