cutStringForWidth, subStringForWidth 재 구현

This commit is contained in:
Hide_D committed 2018-04-07 16:57:21 +09:00
1 parent f5494a69a2
commit 85e6faf92c
6 files changed
+69 -165

No files matched your search

+1 -1
View File
@@ -423,7 +423,7 @@ function processAI($no) {
$colors = GetNationColors();
$color = rand() % count($colors);
$command = EncodeCommand(0, $type, $color, 46);
$nationName = "㉿".StringUtil::SubStr($general['name'], 1);
$nationName = "㉿".mb_substr($general['name'], 1);
//건국
$query = "update general set turn0='$command',makenation='$nationName' where no='{$general['no']}'";
MYDB_query($query, $connect) or Error("processAI08 ".MYDB_error($connect),"");