public void OnNewMap(Game game) { //Increase holding model size limit if inf id is supported HoldingModel model = (HoldingModel)game.ModelCache.Get("holding"); model.resetMaxScale(); }
public void OnNewMap(Game game) { //Increase holding model size limit if inf id is supported IModel model = (HoldingModel)game.ModelCache.Get("holding"); if (model is HoldingModel) { HoldingModel holding = (HoldingModel)model; holding.resetMaxScale(); } }