mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
Needs some testing
This commit is contained in:
parent
1bce1d7d76
commit
4719c3e718
23 changed files with 2124 additions and 1626 deletions
|
|
@ -98,7 +98,7 @@ class RagdollBGone(babase.Plugin):
|
|||
# Pick a random death noise
|
||||
sound = death_sounds[random.randrange(len(death_sounds))]
|
||||
# Play the sound where our Spaz is
|
||||
sound.play(position=args[0].node.position)
|
||||
bs.Sound.play(sound, position=args[0].node.position)
|
||||
# Delete our Spaz node immediately.
|
||||
# Removing stuff is weird and prone to errors, so we're gonna delay it.
|
||||
bs.timer(0.001, args[0].node.delete)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue