diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 00000000000..2b7500b2316 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,5 @@ +# We don't want prettier to run on anything outside of the TGUI folder, so we have to do this. +/* + +# We want it to run into the TGUI folder, however. +!/tgui diff --git a/code/modules/admin/holder2.dm b/code/modules/admin/holder2.dm index 7ea622db3a9..a96c1e86e0f 100644 --- a/code/modules/admin/holder2.dm +++ b/code/modules/admin/holder2.dm @@ -164,7 +164,6 @@ GLOBAL_PROTECT(href_token) if(owner) GLOB.admins -= owner owner.remove_admin_verbs() - owner.init_verbs() owner.holder = null owner = null diff --git a/html/statbrowser.js b/html/statbrowser.js index f52bcd605a5..0d89487af5b 100644 --- a/html/statbrowser.js +++ b/html/statbrowser.js @@ -504,7 +504,7 @@ function remove_listedturf() { } function remove_mc() { - removeStatusTab("MC"); + removePermanentTab("MC"); if (current_tab == "MC") { tab_change("Status"); }