Lavaland Lag Fix (#51)
lavaland lag fix motion trackers salvaging hardsuits
This commit is contained in:
@@ -369,6 +369,8 @@
|
||||
cost = 5
|
||||
. = use_charges(cost)
|
||||
var/fraction = min(1, . / reagents.maximum_volume)
|
||||
if(!affected_turfs.len)
|
||||
return
|
||||
fraction /= affected_turfs.len
|
||||
for(var/t in affected_turfs)
|
||||
reagents.reaction(t, TOUCH, fraction * volume_multiplier)
|
||||
|
||||
@@ -184,8 +184,8 @@
|
||||
/obj/item/weapon/ore,
|
||||
/obj/item/weapon/reagent_containers/food/drinks,
|
||||
/obj/item/organ/hivelord_core,
|
||||
/obj/item/device/wormhole_jaunter
|
||||
|
||||
/obj/item/device/wormhole_jaunter,
|
||||
/obj/item/device/t_scanner/motionTracker
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user