mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 07:38:05 +01:00
You can only reseal sealable biscuits once (#96162)
## About The Pull Request There's two other checks for `has_been_sealed` for the sake of telling people they can't seal it twice but nothing for actually preventing resealing ## Why It's Good For The Game It is extremely clear that you are not supposed to do this ## Changelog 🆑 fix: Sealable biscuits can only be sealed once /🆑
This commit is contained in:
@@ -147,6 +147,8 @@
|
||||
add_fingerprint(user)
|
||||
if(!cracked)
|
||||
return ..()
|
||||
if(has_been_sealed)
|
||||
return
|
||||
if(tgui_alert(user, "Do you want to seal it? This can only be done once.", "Biscuit Sealing", list("Yes", "No")) != "Yes")
|
||||
return
|
||||
cracked = FALSE
|
||||
|
||||
Reference in New Issue
Block a user