Prototype components now use NetworkStart for initialization

This commit is contained in:
Albin Corén 2018-03-05 15:45:34 +01:00
parent 87658b2ce9
commit 72632a1df5
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ namespace MLAPI
}
}
void Start()
public override void NetworkStart()
{
RegisterMessageHandler("MLAPI_HandleAnimationMessage", HandleAnimMsg);
RegisterMessageHandler("MLAPI_HandleAnimationParameterMessage", HandleAnimParamsMsg);

View File

@ -49,7 +49,7 @@ namespace MLAP
}
void Start()
public override void NetworkStart()
{
if (isServer)
{