mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-18 18:46:24 +01:00
Merge changes
This commit is contained in:
@@ -52,14 +52,14 @@
|
||||
if(subtok.len != 2)
|
||||
return null
|
||||
|
||||
if(!istype(plant_controller)) // No seed controller means the fruit will come out all wonky if at all
|
||||
if(!istype(SSplants)) // No seed controller means the fruit will come out all wonky if at all
|
||||
return null
|
||||
|
||||
subtok[2] = text2num(subtok[2])
|
||||
|
||||
// Ensure we've found a token describing the quantity of a path
|
||||
if(subtok.len != 2 || \
|
||||
!istype(plant_controller.seeds[subtok[1]], /datum/seed) || \
|
||||
!istype(SSplants.seeds[subtok[1]], /datum/seed) || \
|
||||
!isnum(subtok[2]))
|
||||
return null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user