mirror of
				https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
				synced 2025-10-31 19:59:43 +00:00 
			
		
		
		
	quick fix for the bonus coin heavens not activating all coins when collected, idk how to word it, but its fixed now
This commit is contained in:
		| @@ -67,4 +67,4 @@ | |||||||
| 			] | 			] | ||||||
| 		} | 		} | ||||||
| 	} | 	} | ||||||
| } | } | ||||||
|   | |||||||
| @@ -13,6 +13,7 @@ func area_entered(area: Area2D) -> void: | |||||||
| 		collect() | 		collect() | ||||||
|  |  | ||||||
| func collect() -> void: | func collect() -> void: | ||||||
|  | 	remove_from_group("Coins") | ||||||
| 	collected.emit() | 	collected.emit() | ||||||
| 	$Hitbox.area_entered.disconnect(area_entered) | 	$Hitbox.area_entered.disconnect(area_entered) | ||||||
| 	Global.coins += 1 | 	Global.coins += 1 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 JHDev2006
					JHDev2006