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