mirror of
https://github.com/rehlds/rehlds.git
synced 2025-01-17 09:07:54 +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");
|
f = FS_OpenPathID("config.cfg", "w", "GAMECONFIG");
|
||||||
if (!f)
|
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)))
|
if (FS_GetLocalPath("config.cfg", nameBuf, sizeof(nameBuf)))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user