mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 06:57:42 +01:00
holding exact required credits will now bring success
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
This commit is contained in:
@@ -1205,7 +1205,7 @@ datum
|
||||
var/held_credits = 0
|
||||
for(var/obj/item/weapon/money/M in owner.current.get_contents())
|
||||
held_credits += M.worth
|
||||
if(held_credits > steal_amount)
|
||||
if(held_credits >= steal_amount)
|
||||
return 1
|
||||
return 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user