mirror of
				https://github.com/ineedbots/t4_bot_warfare.git
				synced 2025-10-27 21:56:56 +00:00 
			
		
		
		
	Fix possible runtime error
This commit is contained in:
		| @@ -709,6 +709,10 @@ onGrenadeFire() | ||||
| 	for(;;) | ||||
| 	{ | ||||
| 		self waittill ( "grenade_fire", grenade, weaponName ); | ||||
|  | ||||
| 		if (!isDefined(grenade)) | ||||
| 			continue; | ||||
| 		 | ||||
| 		grenade.name = weaponName; | ||||
| 		if(weaponName == "m8_white_smoke_mp") | ||||
| 			grenade thread AddToSmokeList(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user