Recent minor updates

#1
  • Added the new cvar g_friendlyFreeze. Using the default setting of 0 disables freezing of friendly vehicles, which makes sense because you couldn't damage them anyway. It was a bug because the vehicle is not considered to be among your teammates, which are already not frozen by friendly fire. The friendly fire damage calculation takes into account the different way in which vehicles' "owner" teams are handled; that extra bit of code was simply missing in the freezing check. Also removed "fake freezing" of allied players where they would get the electrocution effect despite taking no damage and not being frozen.
  • Match results are now automatically posted on the Discord server.
  • Added country detection, which you can see in connect messages and in the whois command.
  • Significantly improved the rcon status command (more information, better readability, etc).
cron