forked from kyonshi/grenzland-mud
Fix in do_set
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user