mirror of
https://github.com/rehlds/rehlds.git
synced 2024-12-28 15:45:46 +03:00
Remove useless dev mode from Host_WriteConfiguration
This commit is contained in:
parent
47964c847b
commit
1796fa69bb
@ -276,7 +276,11 @@ void Host_WriteConfiguration(void)
|
||||
f = FS_OpenPathID("config.cfg", "w", "GAMECONFIG");
|
||||
if (!f)
|
||||
{
|
||||
if (!developer.value || !FS_FileExists("../goldsrc/dev_build_all.bat"))
|
||||
if (!developer.value
|
||||
#ifndef REHLDS_FIXES
|
||||
|| !FS_FileExists("../goldsrc/dev_build_all.bat")
|
||||
#endif
|
||||
)
|
||||
{
|
||||
if (FS_GetLocalPath("config.cfg", nameBuf, sizeof(nameBuf)))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user