mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-10 06:34:45 +01:00
Fixes my idiocy (#17183)
This commit is contained in:
@@ -188,7 +188,8 @@
|
||||
var/datum/stack_recipe/R = recipes_list[text2num(href_list["make"])]
|
||||
var/multiplier = text2num(href_list["multiplier"])
|
||||
if(!multiplier || multiplier <= 0 || multiplier > 50 || !IS_INT(multiplier)) // Href exploit checks
|
||||
message_admins("[key_name_admin(usr)] just attempted to href exploit sheet crafting with an invalid multiplier. Ban highly advised.")
|
||||
if(multiplier) // It existed but they tried to fuck with it
|
||||
message_admins("[key_name_admin(usr)] just attempted to href exploit sheet crafting with an invalid multiplier. Ban highly advised.")
|
||||
multiplier = 1
|
||||
|
||||
if(get_amount() < R.req_amount * multiplier)
|
||||
|
||||
Reference in New Issue
Block a user