mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Fixed get_FBP_type() method for determining min/max ages to use new type names.
This commit is contained in:
@@ -264,11 +264,11 @@
|
||||
if(!is_FBP())
|
||||
return 0 // Not a robot.
|
||||
switch(pref.organ_data["brain"])
|
||||
if("assisted")
|
||||
if("cybernetic")
|
||||
return PREF_FBP_CYBORG
|
||||
if("mechanical")
|
||||
if("positronic")
|
||||
return PREF_FBP_POSI
|
||||
if("digital")
|
||||
if("drone")
|
||||
return PREF_FBP_SOFTWARE
|
||||
return 0 //Something went wrong!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user