No message. 83 files changed.

This commit is contained in:
Vortrex
2021-01-11 10:31:49 -06:00
parent ce8579364c
commit 7f2ee0c8d5
83 changed files with 1544 additions and 746 deletions

View File

@@ -111,13 +111,17 @@ function getDistance(vec1, vec2) {
// ---------------------------------------------------------------------------
function isConsole(client) {
if(client == null) {
return false;
}
return client.console;
}
// ---------------------------------------------------------------------------
function logToConsole(tempLogLevel, text) {
if(logLevel & tempLogLevel) {
if(logLevel & tempLogLevel || logLevel == LOG_ALL) {
if(tempLogLevel == LOG_ERROR) {
console.error(text);
} else if(tempLogLevel == LOG_WARN) {
@@ -132,4 +136,10 @@ function logToConsole(tempLogLevel, text) {
return false;
}
// ---------------------------------------------------------------------------
function isSamePlayer(client1, client2) {
return (client1 == client2);
}
// ---------------------------------------------------------------------------