Added a global scope variable for the agent

skamkraft_proto
anulax1225 ago%!(EXTRA string=1 year)
parent 6170022a75
commit cc1b465dee
  1. 4
      js/skama_code/api/agent.js

@ -2,6 +2,10 @@
'use strict';
import { SpaceTraders } from "./config.js"
export class My {
static agent = null;
}
export class Agent {
constructor(agent, token = "") {
this.token = token;

Loading…
Cancel
Save