mirror of
https://github.com/tbamud/tbamud.git
synced 2026-01-02 07:28:49 +01:00
Fix in do_set
This commit is contained in:
parent
a27d84f0ee
commit
eb99864f0b
2 changed files with 2 additions and 1 deletions
|
|
@ -2777,7 +2777,7 @@ static int perform_set(struct char_data *ch, struct char_data *vict, int mode, c
|
|||
send_to_char(ch, "%s %s for %s.\r\n", set_fields[mode].cmd, ONOFF(on), GET_NAME(vict));
|
||||
} else if (set_fields[mode].type == NUMBER) {
|
||||
value = atoi(val_arg);
|
||||
send_to_char(ch, "%s's %s set to %d.\r\n", GET_NAME(vict), set_fields[mode].cmd, value);
|
||||
send_to_char(ch, "%s's %s set to %d.\r\n", GET_NAME(vict), set_fields[mode].cmd, mode == 16 && value > 100000000 ? 100000000 : value);
|
||||
} else
|
||||
send_to_char(ch, "%s", CONFIG_OK);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue