mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-22 05:20:05 +00:00
removed eventcratechance config
This commit is contained in:
parent
4eaf3b2f08
commit
5517a358ea
@ -69,8 +69,6 @@ accountlevel=1
|
||||
# 2 = Halloween
|
||||
# 3 = Easter
|
||||
eventmode=0
|
||||
# percent chance of an event crate dropping each kill
|
||||
eventcratechance=10
|
||||
|
||||
# you can override the default spawn point.
|
||||
# these example coords are for the Future (Z is height):
|
||||
|
@ -60,7 +60,6 @@ int settings::MONITORINTERVAL = 5000;
|
||||
|
||||
// event mode settings
|
||||
int settings::EVENTMODE = 0;
|
||||
int settings::EVENTCRATECHANCE = 10;
|
||||
|
||||
void settings::init() {
|
||||
INIReader reader("config.ini");
|
||||
@ -99,7 +98,6 @@ void settings::init() {
|
||||
DBPATH = reader.Get("shard", "dbpath", DBPATH);
|
||||
ACCLEVEL = reader.GetInteger("shard", "accountlevel", ACCLEVEL);
|
||||
EVENTMODE = reader.GetInteger("shard", "eventmode", EVENTMODE);
|
||||
EVENTCRATECHANCE = reader.GetInteger("shard", "eventcratechance", EVENTCRATECHANCE);
|
||||
DISABLEFIRSTUSEFLAG = reader.GetBoolean("shard", "disablefirstuseflag", DISABLEFIRSTUSEFLAG);
|
||||
MONITORENABLED = reader.GetBoolean("monitor", "enabled", MONITORENABLED);
|
||||
MONITORPORT = reader.GetInteger("monitor", "port", MONITORPORT);
|
||||
|
@ -26,7 +26,6 @@ namespace settings {
|
||||
extern std::string GRUNTWORKJSON;
|
||||
extern std::string DBPATH;
|
||||
extern int EVENTMODE;
|
||||
extern int EVENTCRATECHANCE;
|
||||
extern bool MONITORENABLED;
|
||||
extern int MONITORPORT;
|
||||
extern int MONITORINTERVAL;
|
||||
|
Loading…
Reference in New Issue
Block a user