|
@@ -131,7 +131,7 @@ public class Spirits_Cook : MonoBehaviour
|
|
|
//×¥ÈË
|
|
//×¥ÈË
|
|
|
else if (state == cookState.run)
|
|
else if (state == cookState.run)
|
|
|
{
|
|
{
|
|
|
- if (target.gameObject.layer == 8 && target.GetComponent<MoveCharacter>().isSpirit)
|
|
|
|
|
|
|
+ if (target.gameObject.layer == 8 && !target.GetComponent<MoveCharacter>().isSpirit)
|
|
|
{
|
|
{
|
|
|
food = target.gameObject;
|
|
food = target.gameObject;
|
|
|
if (!target.isDie)
|
|
if (!target.isDie)
|