mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Makes surpluses spawn items again (#26411)
This commit is contained in:
@@ -138,7 +138,7 @@ GLOBAL_LIST_INIT(uplink_items, subtypesof(/datum/uplink_item))
|
||||
return
|
||||
|
||||
|
||||
var/obj/I = spawn_item(get_turf(user), U)
|
||||
var/obj/I = spawn_item(get_turf(user), U, user)
|
||||
|
||||
if(!I || I == UPLINK_SPECIAL_SPAWNING)
|
||||
return // Failed to spawn, or we handled it with special spawning
|
||||
|
||||
@@ -661,11 +661,11 @@
|
||||
var/crate_value = 250
|
||||
uses_special_spawn = TRUE
|
||||
|
||||
/datum/uplink_item/bundles_TC/surplus_crate/spawn_item(turf/loc, obj/item/uplink/U)
|
||||
/datum/uplink_item/bundles_TC/surplus_crate/spawn_item(turf/loc, obj/item/uplink/U, mob/user)
|
||||
if(..() != UPLINK_SPECIAL_SPAWNING)
|
||||
return FALSE
|
||||
|
||||
new /obj/structure/closet/crate/surplus(loc, U, crate_value, cost)
|
||||
new /obj/structure/closet/crate/surplus(loc, U, crate_value, cost, user)
|
||||
|
||||
// -----------------------------------
|
||||
// PRICES OVERRIDEN FOR NUCLEAR AGENTS
|
||||
|
||||
Reference in New Issue
Block a user