Remove GameConfig

This commit is contained in:
EmosewaMC
2022-12-05 21:58:21 -08:00
parent a8f8de0689
commit cef5cdeea2
7 changed files with 12 additions and 94 deletions

View File

@@ -25,7 +25,6 @@
#include "dConfig.h"
#include "TeamManager.h"
#include "ChatPackets.h"
#include "GameConfig.h"
#include "RocketLaunchLupComponent.h"
#include "eUnequippableActiveType.h"
@@ -999,7 +998,7 @@ void GameMessages::SendSetNetworkScriptVar(Entity* entity, const SystemAddress&
}
void GameMessages::SendDropClientLoot(Entity* entity, const LWOOBJID& sourceID, LOT item, int currency, NiPoint3 spawnPos, int count) {
if (GameConfig::GetValue<int32_t>("no_drops") == 1) {
if (Game::config->GetValue("no_drops") == "1") {
return;
}