Skip to content
This repository has been archived by the owner on Jul 30, 2022. It is now read-only.

Commit

Permalink
Merge branch 'release/v1.0.0' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
rlnt committed Mar 25, 2021
2 parents 4691b72 + ad0ac22 commit 2dbc4f8
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,9 +363,14 @@ def _showStatusMenu(
"Gives [skill]Deathtrap[-skill] a copy of a configurable",
"[skill]shield[-skill] from your inventory.",
]
currentDescription: str = unrealsdk.FindObject(

currentDescriptionObj = unrealsdk.FindObject(
"SkillDefinition", "GD_Tulip_Mechromancer_Skills.BestFriendsForever.SharingIsCaring"
).SkillDescription
)
if currentDescriptionObj is None:
return True
currentDescription: str = currentDescriptionObj.SkillDescription

if currentDescription != " ".join(_skillDescription):
log(instance, "called")
caller.ConsoleCommand(
Expand Down

0 comments on commit 2dbc4f8

Please sign in to comment.