Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardosnt committed Feb 5, 2016
2 parents 20ba678 + f5d38e4 commit 8472154
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -30,6 +30,8 @@ List of commands:

| Command | Description | Aliases | Arguments
| ------- | ------- | ------- | ------- |
autorepair|Auto repair weapon when quality is less than 90|None|[on|off]
autoreload|Auto reload weapon when ammo is less than 5|None|[on|off]
boom|Create an explosion an given position/player|explode|\[player\|x, y, z\]
respawnzombies|Respawn all zombies|None|None
respawnanimals|Respawn all animals|None|None
Expand Down
4 changes: 2 additions & 2 deletions src/Core/Components/ItemFeatures.cs
Expand Up @@ -38,7 +38,7 @@ private void FixedUpdate()
if ( _equip.HoldingItemID == 0 ) return;

/*
Weapon feature (Never reload)
Weapon feature (Auto reload)
*/
if ( AutoReload && _equip.state.Length >= 10 && _equip.state[0xA] < 5 )
{
Expand All @@ -54,7 +54,7 @@ Weapon feature (Never reload)
}

/*
Item feature (Never repair)
Item feature (Auto repair)
*/
if ( AutoRepair && _equip.quality < 90 )
{
Expand Down

0 comments on commit 8472154

Please sign in to comment.