Skip to content

Commit 1c8925b

Browse files
committed
Game: Removed Needies property
1 parent d0dd55c commit 1c8925b

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

Source/Statics/Game.cs

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -417,20 +417,11 @@ public static class PlayerSettings
417417
public static Func<GameObject, object> Timer => isEditor ? gameObject => null : TimerInternal;
418418
private static Func<GameObject, object> TimerInternal => gameObject => ((Bomb)Bomb(gameObject)).GetTimer();
419419

420-
/// <value>
421-
/// Gets all of the needy modules from the bomb supplied. To prevent a reference to the game, the type is boxed in an <see cref="object"/> <see cref="Array"/>. You can cast it to NeedyComponent and BombComponent type to restore its functionality.
422-
/// </value>
423-
/// <remarks>
424-
/// Default: An empty object array.
425-
/// </remarks>
426-
public static Func<KMBomb, object[]> Needies => isEditor ? gameObject => new object[0] : NeediesInternal;
427-
private static Func<KMBomb, object[]> NeediesInternal => bomb => bomb.GetComponentsInChildren(typeof(NeedyComponent)).ConvertAll(c => (object)c);
428-
429420
/// <value>
430421
/// Gets all of the vanilla modules from the bomb supplied, including needies. To prevent a reference to the game, the type is boxed in an <see cref="object"/> <see cref="Array"/>. You can cast it to BombComponent type to restore its functionality.
431422
/// </value>
432423
/// <remarks>
433-
/// Default: An empty object array.
424+
/// Default: An empty <see cref="object"/> <see cref="Array"/>.
434425
/// </remarks>
435426
public static Func<KMBomb, object[]> Vanillas => isEditor ? gameObject => new object[0] : VanillasInternal;
436427
private static Func<KMBomb, object[]> VanillasInternal => bomb => bomb.GetComponentsInChildren(typeof(BombComponent)).ConvertAll(c => (object)c);

0 commit comments

Comments
 (0)