mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Fixes null spell sound plays. (#13628)
This commit is contained in:
@@ -23,7 +23,8 @@ How they spawn stuff is decided by behaviour vars, which are explained below
|
||||
//should have format of list("emagged" = 1,"name" = "Wizard's Justicebot"), for example
|
||||
|
||||
/spell/aoe_turf/conjure/cast(list/targets, mob/user)
|
||||
playsound(get_turf(user), cast_sound, 50, 1)
|
||||
if(!isnull(cast_sound))
|
||||
playsound(get_turf(user), cast_sound, 50, 1)
|
||||
|
||||
var/placed_successfully = 0
|
||||
for(var/i=1,i <= summon_amt,i++)
|
||||
@@ -105,4 +106,4 @@ How they spawn stuff is decided by behaviour vars, which are explained below
|
||||
if(!choice)
|
||||
return 1
|
||||
summon_type = list(full_list[choice])
|
||||
return ..()
|
||||
return ..()
|
||||
|
||||
Reference in New Issue
Block a user