Description:
Clean up errors.
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
@@ -1,6 +1,5 | |||
|
1 | 1 | using System; |
|
2 | 2 | using System.Collections.Generic; |
|
3 | using Encompass; | |
|
4 | 3 | using System.Linq; |
|
5 | 4 | |
|
6 | 5 | using Encompass; |
@@ -85,7 +85,6 | |||
|
85 | 85 | |
|
86 | 86 | public bool show_another_window; |
|
87 | 87 | private bool showInitial; |
|
88 | int messageIndex; | |
|
89 | 88 | |
|
90 | 89 | public Story Story; |
|
91 | 90 | |
@@ -161,7 +160,6 | |||
|
161 | 160 | |
|
162 | 161 | |
|
163 | 162 | showInitial = true; |
|
164 | messageIndex = 0; | |
|
165 | 163 | showBudget = false; |
|
166 | 164 | showForest = false; |
|
167 | 165 | showNews = false; |
@@ -295,7 +295,7 | |||
|
295 | 295 | properties.Add(field.ToString() + "=" |
|
296 | 296 | + field.GetValue(value).ToString()); |
|
297 | 297 | } |
|
298 |
catch (NullReferenceException |
|
|
298 | catch (NullReferenceException) | |
|
299 | 299 | { |
|
300 | 300 | properties.Add(field.ToString() + "= <null>" ); |
|
301 | 301 | } |
@@ -322,7 +322,7 | |||
|
322 | 322 | properties.Add(field.ToString() + "=" |
|
323 | 323 | + field.GetValue(value).ToString()); |
|
324 | 324 | } |
|
325 |
catch (NullReferenceException |
|
|
325 | catch (NullReferenceException) | |
|
326 | 326 | { |
|
327 | 327 | properties.Add(field.ToString() + "= <null>" ); |
|
328 | 328 | } |
@@ -115,7 +115,6 | |||
|
115 | 115 | public static void RenderDialog(Entity entity, |
|
116 | 116 | ImGuiWindowBridgeEngine bridgeEngine, ref bool show, ref bool paused, ImFontPtr font, DialogComponent dialogComponent) |
|
117 | 117 | { |
|
118 | Node<DialogOption> new_child = default; | |
|
119 | 118 | if (show) |
|
120 | 119 | { |
|
121 | 120 | ImGui.PushFont(font); |
You need to be logged in to leave comments.
Login now