also persist the checkboxes

main
hecht 13 years ago
parent a2dbb06584
commit 2917f26236

@ -312,6 +312,8 @@ function autokampf($user, $kampf_name, $char_id, $kampf_zeit, $lvl, $acceptWitho
setUserMetaDataEntry($user['id'], AUTO_FIGHT_NAME, $kampf_name); setUserMetaDataEntry($user['id'], AUTO_FIGHT_NAME, $kampf_name);
setUserMetaDataEntry($user['id'], AUTO_FIGHT_TIME, $kampf_zeit/300); setUserMetaDataEntry($user['id'], AUTO_FIGHT_TIME, $kampf_zeit/300);
setUserMetaDataEntry($user['id'], AUTO_FIGHT_LEVEL, $lvl); setUserMetaDataEntry($user['id'], AUTO_FIGHT_LEVEL, $lvl);
setUserMetaDataEntry($user['id'], AUTO_FIGHT_CREATE, $createAfterAccept==1?1:0);
setUserMetaDataEntry($user['id'], AUTO_FIGHT_NONAME, $acceptWithoutName==1?1:0);
} else { } else {
$tmp = 'Kein Char ausgewählt!'; $tmp = 'Kein Char ausgewählt!';
} }

Loading…
Cancel
Save