1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-04-01 01:06:42 +00:00

[Server] Add commit hash to the rules

This commit is contained in:
Koncord 2017-05-28 18:29:00 +08:00
parent 565889ccbc
commit 80925736c0

View file

@ -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();
}