|
@@ -44,7 +44,16 @@ namespace Fort23.Mono
|
|
|
{
|
|
|
Text_Level.text = 0 + "";
|
|
|
}
|
|
|
- Slider_Emotion.fillAmount = _daoYouData.emotionValue / 100;
|
|
|
+
|
|
|
+ if (_daoYouData == null)
|
|
|
+ {
|
|
|
+ Slider_Emotion.fillAmount = 1;
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ Slider_Emotion.fillAmount = _daoYouData.emotionValue / 100;
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
if (_daoYouData == null)
|
|
|
{
|