Blowing up the reactor sets karma to 0, all jobs except assistant require a certain karma level
This commit is contained in:
@@ -209,7 +209,7 @@ namespace Barotrauma.Items.Components
|
||||
if (progressBar != null) progressBar.Size = new Vector2(60.0f, 20.0f);
|
||||
#endif
|
||||
|
||||
targetStructure.AddDamage(sectionIndex, -StructureFixAmount * degreeOfSuccess);
|
||||
targetStructure.AddDamage(sectionIndex, -StructureFixAmount * degreeOfSuccess,user);
|
||||
|
||||
//if the next section is small enough, apply the effect to it as well
|
||||
//(to make it easier to fix a small "left-over" section)
|
||||
|
||||
Reference in New Issue
Block a user