Fixes cavity surgery using old organ names

This commit is contained in:
Chinsky
2015-05-18 06:15:09 +03:00
parent 57a7c307b9
commit f016d51f38
+4 -4
View File
@@ -16,9 +16,9 @@
switch (affected.name)
if ("head")
return 1
if ("chest")
if ("upper body")
return 3
if ("groin")
if ("lower body")
return 2
return 0
@@ -26,9 +26,9 @@
switch (affected.name)
if ("head")
return "cranial"
if ("chest")
if ("upper body")
return "thoracic"
if ("groin")
if ("lower body")
return "abdominal"
return ""