국가 성향 converter를 TriggerNationType으로 통합

This commit is contained in:
2018-09-02 21:37:23 +09:00
parent 1a0914196f
commit 6fc8763895
5 changed files with 47 additions and 46 deletions
+6 -2
View File
@@ -71,8 +71,12 @@ class Nation{
$capital = 0;
}
$type = \sammo\NationCharCall($this->type);
if(strpos($this->type, '_') === FALSE){
$type = 'che_'.$this->type;
}
else{
$type = $this->type;
}
$db = DB::db();
$otherNations = $db->queryFirstColumn('SELECT nation FROM nation');