mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-09 20:24:16 +00:00
Refactor and combat changes
This commit is contained in:
@@ -81,6 +81,8 @@
|
||||
#include "eLoginResponse.h"
|
||||
#include "SlashCommandHandler.h"
|
||||
|
||||
#include "NejlikaHooks.h"
|
||||
|
||||
namespace Game {
|
||||
Logger* logger = nullptr;
|
||||
dServer* server = nullptr;
|
||||
@@ -315,6 +317,8 @@ int main(int argc, char** argv) {
|
||||
// Register slash commands if not in zone 0
|
||||
if (zoneID != 0) SlashCommandHandler::Startup();
|
||||
|
||||
nejlika::NejlikaHooks::InstallHooks();
|
||||
|
||||
Game::logger->Flush(); // once immediately before the main loop
|
||||
while (true) {
|
||||
Metrics::StartMeasurement(MetricVariable::Frame);
|
||||
|
Reference in New Issue
Block a user