mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-05 06:50:04 +00:00
fix: MOTD not showing up without config.ini
Since we do an early return without a config.ini file, the MOTDSTRING will still be the default std::string value (""), causing the game to output "Gamemaster: ". To fix this, we'll just hardcode the preferred default value for now.
This commit is contained in:
parent
e75049fc98
commit
bb1ce5c28d
@ -15,7 +15,7 @@ int settings::SPAWN_X = 179213;
|
|||||||
int settings::SPAWN_Y = 268451;
|
int settings::SPAWN_Y = 268451;
|
||||||
int settings::SPAWN_Z = -4210;
|
int settings::SPAWN_Z = -4210;
|
||||||
|
|
||||||
std::string settings::MOTDSTRING;
|
std::string settings::MOTDSTRING = "Welcome to OpenFusion!";
|
||||||
|
|
||||||
void settings::init() {
|
void settings::init() {
|
||||||
INIReader reader("config.ini");
|
INIReader reader("config.ini");
|
||||||
|
Loading…
Reference in New Issue
Block a user