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