From 532c950f80d4e9c987c3ecb70d0f24ca0d1df326 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期五, 17 五月 2024 15:11:05 +0800
Subject: [PATCH] 0312 还原表格读取
---
Core/GameEngine/Model/Config/OSCBillTagAwardConfig.cs | 14 ++------------
1 files changed, 2 insertions(+), 12 deletions(-)
diff --git a/Core/GameEngine/Model/Config/OSCBillTagAwardConfig.cs b/Core/GameEngine/Model/Config/OSCBillTagAwardConfig.cs
index 68b7581..6443780 100644
--- a/Core/GameEngine/Model/Config/OSCBillTagAwardConfig.cs
+++ b/Core/GameEngine/Model/Config/OSCBillTagAwardConfig.cs
@@ -1,6 +1,6 @@
锘�//--------------------------------------------------------
// [Author]: Fish
-// [ Date ]: 2024骞�5鏈�10鏃�
+// [ Date ]: 2024骞�5鏈�17鏃�
//--------------------------------------------------------
using System.Collections.Generic;
@@ -9,7 +9,6 @@
using System;
using UnityEngine;
using LitJson;
-using System.Linq;
public partial class OSCBillTagAwardConfig
{
@@ -135,10 +134,6 @@
try
{
var line = lines[i];
- if (!AssetSource.refdataFromEditor)
- {
- line = new string(line.Reverse().ToArray());
- }
var index = line.IndexOf("\t");
if (index == -1)
{
@@ -166,7 +161,6 @@
}
else
{
- bool isEditor = AssetSource.refdataFromEditor;
ThreadPool.QueueUserWorkItem((object _object) =>
{
var lines = File.ReadAllLines(path);
@@ -178,11 +172,7 @@
{
try
{
- var line = lines[i];
- if (!isEditor)
- {
- line = new string(line.Reverse().ToArray());
- }
+ var line = lines[i];
var index = line.IndexOf("\t");
if (index == -1)
{
--
Gitblit v1.8.0