국가 성향 converter를 TriggerNationType으로 통합
This commit is contained in:
1 parent
1a0914196f
commit
6fc8763895
5 files changed
+47
-46
No files matched your search
@@ -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');
|
||||
|
||||
Reference in new issue
Block a user