mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-14 12:13:06 +00:00
Fixes halloween candy bowls (#9333)
This commit is contained in:
@@ -84,8 +84,11 @@
|
|||||||
searching = TRUE
|
searching = TRUE
|
||||||
|
|
||||||
if(!do_after(user, 5 SECONDS))
|
if(!do_after(user, 5 SECONDS))
|
||||||
|
searching = FALSE
|
||||||
return
|
return
|
||||||
|
|
||||||
|
searching = FALSE
|
||||||
|
|
||||||
if(treated[user.ckey])
|
if(treated[user.ckey])
|
||||||
var/choice = tgui_alert(user, "You already took one! Take more?", "Take another...", list("Reach in...", "Leave it!"))
|
var/choice = tgui_alert(user, "You already took one! Take more?", "Take another...", list("Reach in...", "Leave it!"))
|
||||||
if(choice == "Reach in...")
|
if(choice == "Reach in...")
|
||||||
@@ -99,8 +102,6 @@
|
|||||||
thegoods = pick(candy)
|
thegoods = pick(candy)
|
||||||
treated[user.ckey] = TRUE
|
treated[user.ckey] = TRUE
|
||||||
|
|
||||||
searching = FALSE
|
|
||||||
|
|
||||||
var/goodie = new thegoods(src)
|
var/goodie = new thegoods(src)
|
||||||
user.put_in_hands(goodie)
|
user.put_in_hands(goodie)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user