mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-06-07 07:09:17 +01:00
f70e3ffbe5
* Dice roll messages now properly detect if the die was rolled inhand or thrown (#81977) ## About The Pull Request Currently, dice will give the same message directly to the user, regardless of if they were thrown or rolled in hand. This means you can throw a die far off screen or even out into space, and still know exactly when the die landed and what was rolled despite not being able to see it. This PR fixes that. It also rearranges the code for dice a little bit, since for some reason all the important procs were defined like, halfway down the file from the initial `/obj/item/dice` definition. ## Why It's Good For The Game Fixes a bug and something potentially exploitable ## Changelog 🆑 fix: You can no longer determine the result of a dice roll from off-screen. /🆑 --------- Co-authored-by: san7890 <the@ san7890.com> * Dice roll messages now properly detect if the die was rolled inhand or thrown --------- Co-authored-by: Nick <42454181+Momo8289@users.noreply.github.com> Co-authored-by: san7890 <the@ san7890.com>