fixed attackexecution speed bug

This commit is contained in:
evanpelle
2024-09-02 11:50:29 -07:00
parent adac26a44f
commit 23cd55a398
4 changed files with 8 additions and 11 deletions
+3 -1
View File
@@ -14,7 +14,9 @@ export function slog(eventType: string, description, data: any, severity = LogSe
data: data
};
if (process.env.GAME_ENV == 'dev') {
console.log(description)
if (severity != LogSeverity.DEBUG) {
console.log(description)
}
} else {
console.log(JSON.stringify(logEntry));
}