mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
Adds sanity check so you don't accidentally pop a fun balloon multiple times (#36720)
* Adds sanity check so you don't accidentally pop a fun balloon multiple times. * Fuck it, probably better like this * heck
This commit is contained in:
@@ -35,10 +35,11 @@
|
||||
/obj/effect/fun_balloon/attack_ghost(mob/user)
|
||||
if(!user.client || !user.client.holder || popped)
|
||||
return
|
||||
switch(alert("Pop [src]?","Fun Balloon","Yes","No"))
|
||||
if("Yes")
|
||||
effect()
|
||||
pop()
|
||||
var/confirmation = alert("Pop [src]?","Fun Balloon","Yes","No")
|
||||
if(confirmation == "Yes" && !popped)
|
||||
popped = TRUE
|
||||
effect()
|
||||
pop()
|
||||
|
||||
/obj/effect/fun_balloon/sentience
|
||||
name = "sentience fun balloon"
|
||||
|
||||
Reference in New Issue
Block a user