Allow tabs on structures
This commit is contained in:
parent
7bf5c6fd5d
commit
9ddaf5b9d3
|
@ -500,17 +500,17 @@
|
||||||
If line.EndsWith("}") = True Then
|
If line.EndsWith("}") = True Then
|
||||||
Dim addLine As Boolean = False
|
Dim addLine As Boolean = False
|
||||||
Select Case True
|
Select Case True
|
||||||
Case line.StartsWith("{""Entity""{ENT[")
|
Case line.Trim(" "c, Chr(9)).StartsWith("{""Entity""{ENT[")
|
||||||
addLine = True
|
addLine = True
|
||||||
Case line.StartsWith("{""Floor""{ENT[")
|
Case line.Trim(" "c, Chr(9)).StartsWith("{""Floor""{ENT[")
|
||||||
addLine = True
|
addLine = True
|
||||||
Case line.StartsWith("{""EntityField""{ENT[")
|
Case line.Trim(" "c, Chr(9)).StartsWith("{""EntityField""{ENT[")
|
||||||
addLine = True
|
addLine = True
|
||||||
Case line.StartsWith("{""NPC""{NPC[")
|
Case line.Trim(" "c, Chr(9)).StartsWith("{""NPC""{NPC[")
|
||||||
If addNPC = True Then
|
If addNPC = True Then
|
||||||
addLine = True
|
addLine = True
|
||||||
End If
|
End If
|
||||||
Case line.StartsWith("{""Shader""{SHA[")
|
Case line.Trim(" "c, Chr(9)).StartsWith("{""Shader""{SHA[")
|
||||||
addLine = True
|
addLine = True
|
||||||
End Select
|
End Select
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue