mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-03 22:13:24 +00: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