This commit is contained in:
aozhiwei 2021-06-17 23:42:36 +08:00
parent d70a548351
commit 780a22c734

View File

@ -659,11 +659,13 @@ void Obstacle::OnCollisionTrigger(Creature* c, OptResult& opt_result)
case kObstacleMine:
case kObstacleTrap:
{
if (c->team_id != GetTeamId(c->room)) {
AddObstacleBuff(c);
Explosion();
Die(c->room);
BroadcastFullState(c->room);
}
}
break;
default:
{