diff options
Diffstat (limited to 'client/player/effect.gd')
| -rw-r--r-- | client/player/effect.gd | 17 | 
1 files changed, 11 insertions, 6 deletions
| diff --git a/client/player/effect.gd b/client/player/effect.gd index 8371d99d..fedf548f 100644 --- a/client/player/effect.gd +++ b/client/player/effect.gd @@ -1,18 +1,19 @@  # Undercooked - a game about cooking -# Copyright 2024 nokoe, tpart -#  +# Copyright 2024 nokoe +# Copyright 2024 tpart +#  # This program is free software: you can redistribute it and/or modify  # it under the terms of the GNU Affero General Public License as published by  # the Free Software Foundation, version 3 of the License only. -#  +#  # This program is distributed in the hope that it will be useful,  # but WITHOUT ANY WARRANTY; without even the implied warranty of  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the  # GNU Affero General Public License for more details. -#  +#  # You should have received a copy of the GNU Affero General Public License  # along with this program.  If not, see <https://www.gnu.org/licenses/>. -#  +#  class_name Effect  extends Node3D @@ -37,4 +38,8 @@ func set_effect(e: String):  			push_warning("effect %s unknown" % e)  func clear_effect(): -	$Stars.emitting = false +	stars.emitting = false +	success.stop() +	angry.emitting = false +	angry_grunt.stop_all() +	failure.stop() | 
