Rewriting from scratch. Fixing old code is just less fun.
This commit is contained in:
16
_system.js
Normal file
16
_system.js
Normal file
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Basis of the entire system. Everything will be managed from here on out.
|
||||
*/
|
||||
const rooms = require("_rooms")
|
||||
|
||||
module.exports = {
|
||||
// Gets called when recompiling and when Restart command is called.
|
||||
start: function () {
|
||||
rooms.start();
|
||||
},
|
||||
|
||||
// Gets called every tick.
|
||||
update: function () {
|
||||
rooms.update();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user