mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-22 02:17:45 +00:00
fixed attackexecution speed bug
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user