forked from mirror/openmw-tes3mp
[Server] Add commit hash to the rules
This commit is contained in:
parent
565889ccbc
commit
80925736c0
1 changed files with 1 additions and 0 deletions
|
@ -276,6 +276,7 @@ int main(int argc, char *argv[])
|
|||
networking.getMasterClient()->SetUpdateRate((unsigned)updateRate);
|
||||
string hostname = mgr.getString("hostname", "General");
|
||||
networking.getMasterClient()->SetHostname(hostname);
|
||||
networking.getMasterClient()->SetRuleString("CommitHash", version.mCommitHash);
|
||||
|
||||
networking.getMasterClient()->Start();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue