mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-09 16:07:40 +00:00
"what if adminbus stops leaking confidential adminchat" and also updates admin things. you can now do obj/structure/singulo:50
This commit is contained in:
@@ -104,13 +104,8 @@ const setupApp = () => {
|
||||
'is-disabled': false,
|
||||
'pos': '0x0',
|
||||
});
|
||||
// bad workaround for size.
|
||||
const winget_output = Byond.winget('output');
|
||||
if (winget_output["size"]) {
|
||||
Byond.winset('browseroutput', {
|
||||
'size': winget_output["size"],
|
||||
});
|
||||
}
|
||||
// Absolutely shit workaround for chatbox visiblity.
|
||||
based_winset();
|
||||
|
||||
// Enable hot module reloading
|
||||
if (module.hot) {
|
||||
@@ -130,4 +125,12 @@ const setupApp = () => {
|
||||
}
|
||||
};
|
||||
|
||||
const based_winset = async (based_on_what = 'output') => {
|
||||
// shitty workaround because winget is async.
|
||||
const winget_output = await Byond.winget(based_on_what);
|
||||
Byond.winset('browseroutput', {
|
||||
'size': winget_output["size"],
|
||||
});
|
||||
};
|
||||
|
||||
setupApp();
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user