mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 13:07:46 +01:00
Fixes checks (#29153)
This commit is contained in:
@@ -105,7 +105,7 @@
|
||||
if(!istype(product, product_type))
|
||||
return FALSE
|
||||
// Quality doesn't match
|
||||
if(product.quality != quality)
|
||||
if(!istype(product.quality, quality))
|
||||
return FALSE
|
||||
// Material doesn't match
|
||||
if(product.material != material)
|
||||
|
||||
Reference in New Issue
Block a user