fix smell, call parameter the same as base method

This commit is contained in:
Paul Pacheco 2020-03-23 10:28:49 -05:00
parent f4a8692873
commit 0beba4dd2b

View File

@ -95,9 +95,9 @@ public override bool OnCheckObserver(NetworkConnection conn)
/// Called when a new player enters, and when scene changes occur /// Called when a new player enters, and when scene changes occur
/// </summary> /// </summary>
/// <param name="observers">List of players to be updated. Modify this set with all the players that can see this object</param> /// <param name="observers">List of players to be updated. Modify this set with all the players that can see this object</param>
/// <param name="initial">True if this is the first time the method is called for this object</param> /// <param name="initialize">True if this is the first time the method is called for this object</param>
/// <returns>True if this component calculated the list of observers</returns> /// <returns>True if this component calculated the list of observers</returns>
public override bool OnRebuildObservers(HashSet<NetworkConnection> observers, bool initial) public override bool OnRebuildObservers(HashSet<NetworkConnection> observers, bool initialize)
{ {
// if force hidden then return without adding any observers. // if force hidden then return without adding any observers.
if (forceHidden) if (forceHidden)