mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-28 14:37:04 +01:00
Now tested up to character join.
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
selblock=1
|
||||
else
|
||||
real_block=selblock
|
||||
var/list/BOUNDS = dna_activity_bounds[real_block]
|
||||
var/list/BOUNDS = GetDNABounds(real_block)
|
||||
return dna[selblock] > BOUNDS[DNA_ON_LOWERBOUND]
|
||||
|
||||
/obj/item/weapon/dnainjector/proc/SetState(var/on, var/selblock=0)
|
||||
@@ -38,7 +38,7 @@
|
||||
selblock=1
|
||||
else
|
||||
real_block=selblock
|
||||
var/list/BOUNDS=dna_activity_bounds[real_block]
|
||||
var/list/BOUNDS=GetDNABounds(real_block)
|
||||
var/val
|
||||
if(on)
|
||||
val=rand(BOUNDS[DNA_ON_LOWERBOUND],BOUNDS[DNA_ON_UPPERBOUND])
|
||||
|
||||
Reference in New Issue
Block a user