국가 성향 converter를 TriggerNationType으로 통합

This commit is contained in:
Hide_D committed 2018-09-02 21:37:23 +09:00
1 parent 1a0914196f
commit 6fc8763895
5 files changed
+47 -46

No files matched your search

+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');