9 lines
171 B
JavaScript
9 lines
171 B
JavaScript
import constants from "../constants";
|
|
import socket from "../socket";
|
|
|
|
socket.on("commands", function(commands) {
|
|
if (commands) {
|
|
constants.commands = commands;
|
|
}
|
|
});
|