Skip to content

Commit

Permalink
Only warn about unhandled decorations in the editor.
Browse files Browse the repository at this point in the history
  • Loading branch information
RosaryMala committed Mar 29, 2018
1 parent 222a6ae commit aef2ccd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Assets/Scripts/MapGen/Items/ItemModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ public static void UpdateImprovements(GameObject GO, Item itemInput)
case ImprovementType.ILLUSTRATION:
case ImprovementType.INSTRUMENT_PIECE:
default:
#if UNITY_EDITOR
Debug.LogWarning(string.Format("Unhandled improvement {0} on {1}", improvement.type, GO.name));
#endif
break;
}
}
Expand Down

0 comments on commit aef2ccd

Please sign in to comment.