Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let asd: ScriptDescription = {};
- namespace ASD {
- export let GameStart: boolean = false;
- export namespace Load {
- export function Init(): void {
- if (GameRules.IsActiveGame()) GameStart = true;
- }
- }
- }
- asd.OnUpdate = () => {};
- asd.OnGameEnd = () => {
- ASD.GameStart = false;
- };
- asd.OnScriptLoad = asd.OnGameStart = ASD.Load.Init;
- RegisterScript(asd);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement