Merge remote-tracking branch 'origin/demo'
This commit is contained in:
commit
e9ead8a781
@ -672,8 +672,8 @@ func on_toggle_invalid_prop(play_sfx := true):
|
||||
if GlobalConfig.DEBUG:
|
||||
print("使用无效道具. invalid_prop shake. current prop:", inventory.current_item_key())
|
||||
if play_sfx:
|
||||
invalid_sfx.play()
|
||||
|
||||
AudioManager.play_sfx(invalid_sfx)
|
||||
|
||||
if shake_tween and shake_tween.is_running():
|
||||
shake_tween.kill()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user