mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-31 02:19:09 +00:00
Fix #12925: Prevent cost estimates for settings changes
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
CommandCost CmdChangeSetting(DoCommandFlags flags, const std::string &name, int32_t value);
|
||||
CommandCost CmdChangeCompanySetting(DoCommandFlags flags, const std::string &name, int32_t value);
|
||||
|
||||
DEF_CMD_TRAIT(CMD_CHANGE_SETTING, CmdChangeSetting, CMD_SERVER, CMDT_SERVER_SETTING)
|
||||
DEF_CMD_TRAIT(CMD_CHANGE_COMPANY_SETTING, CmdChangeCompanySetting, 0, CMDT_COMPANY_SETTING)
|
||||
DEF_CMD_TRAIT(CMD_CHANGE_SETTING, CmdChangeSetting, CMD_SERVER | CMD_NO_EST, CMDT_SERVER_SETTING)
|
||||
DEF_CMD_TRAIT(CMD_CHANGE_COMPANY_SETTING, CmdChangeCompanySetting, CMD_NO_EST, CMDT_COMPANY_SETTING)
|
||||
|
||||
#endif /* SETTINGS_CMD_H */
|
||||
|
Reference in New Issue
Block a user