diff --git a/code/modules/autowiki/pages/base.dm b/code/modules/autowiki/pages/base.dm index ce32bfd4032b7..6b01cfe1a836e 100644 --- a/code/modules/autowiki/pages/base.dm +++ b/code/modules/autowiki/pages/base.dm @@ -50,7 +50,11 @@ if(uploaded_icons["[name]"]) CRASH("We tried uploading an icon, but the name \"[name]\" was already taken!") - fcopy(icon, "data/autowiki_files/[name].png") + // BANDASTATION EDIT - START + var/icon/scaled_icon = icon + scaled_icon.Scale(64, 64) + fcopy(scaled_icon, "data/autowiki_files/[name].png") // icon -> scaled_icon + // BANDASTATION EDIT - END uploaded_icons["[name]"] = TRUE /// Escape a parameter such that it can be correctly put inside a wiki output diff --git a/tools/autowiki/autowiki.js b/tools/autowiki/autowiki.js index 8b5c5fc9f00a0..5ae82ee27c646 100644 --- a/tools/autowiki/autowiki.js +++ b/tools/autowiki/autowiki.js @@ -36,7 +36,7 @@ async function main() { const bot = new MWBot() await bot.loginGetEditToken({ - apiUrl: "https://tgstation13.org/wiki/api.php", + apiUrl: "https://tg.ss220.club/api.php", username: USERNAME, password: PASSWORD, })