Skip to content

Commit

Permalink
GetDatFile Parameter.Replace("_", " ").Trim 처리
Browse files Browse the repository at this point in the history
  • Loading branch information
Buizz committed Jul 6, 2024
1 parent 20d3cfe commit 5c24b40
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions EUD Editor 3/Class/MacroFunc/MacroDefaultFunction.vb
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,9 @@
Public Function ConditionDatFile(DatName As String, Parameter As String, index As String, Value As String, Modifier As String) As String
Dim offset As String = DatOffset(DatName, Parameter)
Dim datfile As SCDatFiles.DatFiles = pjData.Dat.GetDatFileE(DatName)

Parameter = Parameter.Replace("_", " ")

Dim Start As Integer = pjData.Dat.GetDatFile(datfile).GetParamInfo(Parameter, SCDatFiles.EParamInfo.VarStart)
Dim Size As Byte = pjData.Dat.GetDatFile(datfile).GetParamInfo(Parameter, SCDatFiles.EParamInfo.Size)
Dim Length As Byte = Size * pjData.Dat.GetDatFile(datfile).GetParamInfo(Parameter, SCDatFiles.EParamInfo.VarArray)
Expand Down

0 comments on commit 5c24b40

Please sign in to comment.