Skip to content

Commit

Permalink
Fixes item reclaimer (tgstation#19204)
Browse files Browse the repository at this point in the history
  • Loading branch information
lzimann authored and ChangelingRain committed Jul 9, 2016
1 parent 90a15a6 commit dcdafc1
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 14 deletions.
7 changes: 5 additions & 2 deletions code/game/machinery/gulag_item_reclaimer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,13 @@
var/list/data = list()
var/can_reclaim = FALSE

if(allowed(user))
can_reclaim = TRUE

if(inserted_id)
data["id"] = inserted_id
data["id"]["name"] = inserted_id.registered_name
if(inserted_id.points >= inserted_id.goal || allowed(user))
data["id_name"] = inserted_id.registered_name
if(inserted_id.points >= inserted_id.goal)
can_reclaim = TRUE

var/list/mobs = list()
Expand Down
Loading

0 comments on commit dcdafc1

Please sign in to comment.