0.3.2.1 누락 요소 추가3

This commit is contained in:
NTG_Lenovo 2024-10-22 21:51:22 +09:00
parent 17d2abc545
commit 9b82a39ff1

View File

@ -7,6 +7,8 @@ namespace BlueWater.Items
{ {
protected override void OnEnable() protected override void OnEnable()
{ {
if (!Application.isPlaying) return;
base.OnEnable(); base.OnEnable();
var maxLiquidAmount = FindAnyObjectByType<LiquidController>().GetMaxLiquidCount(); var maxLiquidAmount = FindAnyObjectByType<LiquidController>().GetMaxLiquidCount();