More warning fixes
This commit is contained in:
56 files changed
+56
-80
No files matched your search
@@ -15,7 +15,7 @@ public class Infatuated : Script
|
||||
/// <inheritdoc />
|
||||
public override void PreventMove(IExecutingMove move, ref bool prevent)
|
||||
{
|
||||
if (move.User.BattleData?.Battle?.Random.GetBool() == true)
|
||||
if (move.User.BattleData?.Battle.Random.GetBool() == true)
|
||||
prevent = true;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user