1. Contagion
  2. News
  3. Small patch: 2.2.1.24

Small patch: 2.2.1.24

[h2]Changelog[/h2]
  • Added "bool CTakeDamageInfo.HasDamageType( int bitsDamageType ) const;" function
  • Added "void Utils.SetAmmoMaxCarry(int &in iAmmoIndex, int &in iMaxCarrySize);" function
  • Added "void Utils.ResetAmmoMaxCarry(int &in iAmmoIndex);" function
  • Added "Globals.AllowThirdPersonCamera( bool &in state );" function
  • Added "Engine.StartCampaign( const string& in CampaignName, const int &in SessionID );" function (only available for dedicated servers)
  • Added "ThePresident.SetAllowedToDropAmmo( bool state );" function
  • Added "ThePresident.IsAllowedToDropAmmo();" function
  • Added "string @CASConVarRef.GetHelpText()" function
  • Added forward function "void ThePresident_OnCampaignFinished()" (only works if playing in Campaign mode)
  • Added new weapon "Upgrade Package". This new weapon will now deprecate the old "item_upgrademodule" used in Flatline.
  • Added new entity "prop_mounted_machine_gun".


  • Updated "Schedule::Task", it now accepts dictionary inputs
  • Updated blackhawk model, added new animations for mappers to use
  • Updated "CTerrorPlayer.SetMaxSpeed( int &in iSpeed );" to "CTerrorPlayer.SetMaxSpeed( float &in flSpeed, bool &in bRunSpeed );"
  • Updated Spanish translations, by Lucio: Ratchet Lombax
  • Updated Simplified Chinese & Traditional Chinese translation, by OldDriver佬撕雞
  • Updated Italian translation, by Simone Calvani

  • Fixed some video cards & laptop integrated video cards causing the game to crash on boot, because Windows is failing to find the video memory
  • Fixed cl_showfps not showing the map name properly on larger resolutions
  • Fixed Campaign throwing Lobby Error when the internet dies / not connected (now it forcefully reverts back to LAN and Solo mode)
  • Fixed BLR, Sniper, AR15, Garand, Arlene, Grenade Launcher not firing event weapon_reload
  • Fixed event weapon_pump never triggering for Angelscript
  • Fixed ch_unionstation spawn problem, where survivors spawned outside the playable space
  • Fixed disconnected players avatars showing on the scoreboard if the player slot is taken by a BOT
  • Fixed map voting not being populated
  • Fixed a few voicelines not working (such as get inside the elevator) on the mansion map, due the number value exceeded 255
  • Fixed 2 lines not working in the sequence file (which also didn't work on AS)