+ Updated how Salesman homeless-ness state is handled
This commit is contained in:
1 parent
038c7ee4a8
commit
609cd8a6f8
1 file changed
+1
-2
@@ -130,13 +130,12 @@ namespace CalamityMod.NPCs.TownNPCs
|
||||
}
|
||||
}
|
||||
|
||||
NPC.UpdateHomeTileState(false, -1, -1);
|
||||
return true;
|
||||
}
|
||||
|
||||
public override void AI()
|
||||
{
|
||||
NPC.homeless = true;
|
||||
|
||||
if (NPC.ai[0] == 12f) // Attacking
|
||||
{
|
||||
attackFrameTimer++;
|
||||
|
||||
Reference in new issue
Block a user