mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 14:30:02 -04:00
kill console.clear
This commit is contained in:
parent
0d84f77084
commit
2bc31d7e56
1 changed files with 10 additions and 0 deletions
10
src/client/shared/console.ts
Normal file
10
src/client/shared/console.ts
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
import { ScramjetClient } from "../client";
|
||||||
|
|
||||||
|
export default function (client: ScramjetClient) {
|
||||||
|
client.Proxy("console.clear", {
|
||||||
|
apply(ctx) {
|
||||||
|
// fuck you
|
||||||
|
ctx.return(undefined);
|
||||||
|
},
|
||||||
|
});
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue