Removed prints for AI health

This commit is contained in:
Paul Black 2023-03-19 14:04:07 -06:00
parent 09520f64d9
commit 39425fda75
2 changed files with 2 additions and 1 deletions

View file

@ -36,7 +36,6 @@ func _physics_process(delta):
Global.AIHit = false
var damage = RandomNumberGenerator.new().randi_range(7, 16)
health -= damage
print(health)
if health <= 0:
self.queue_free()
if $CollisionShape3D/Neck/Teddy/AnimationPlayer.is_playing():

View file

@ -106,6 +106,8 @@ func reset_variables_hard():
runnerDead = false
roundTimer = 300.0
spawnCoordsInitalized = false
tutorialComplete = false
AIHit = false
func save_data():
SettingsFile.save_data(mouseSensitivity, playerName, volumeModifer)