Commit b1696060 authored by Zachary Sistrunk's avatar Zachary Sistrunk

::unset on a PvP channel now removes ALL PvP children instead of half.

parent 7eaa46ea
......@@ -585,7 +585,8 @@ var admincommands = {
}
if (savedata.channels[remove].type == "pvp-main") {
let forceids = savedata.channels[remove].forceids;
for (let i = 0; i < forceids.length; i++) {
let forceamount = forceids.length
for (let i = 0; i < forceamount; i++) {
deleteForce(forceids[i]);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment