mirror of
				https://github.com/DarkflameUniverse/DarkflameServer.git
				synced 2025-10-31 12:41:55 +00:00 
			
		
		
		
	Fix smashables not counting towards whole team (#944)
This commit is contained in:
		| @@ -701,7 +701,7 @@ void DestroyableComponent::Smash(const LWOOBJID source, const eKillType killType | ||||
| 		auto* missions = owner->GetComponent<MissionComponent>(); | ||||
|  | ||||
| 		if (missions != nullptr) { | ||||
| 			if (team != nullptr && isEnemy) { | ||||
| 			if (team != nullptr) { | ||||
| 				for (const auto memberId : team->members) { | ||||
| 					auto* member = EntityManager::Instance()->GetEntity(memberId); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 David Markowitz
					David Markowitz