File tree Expand file tree Collapse file tree
demo/Blackholio/client-godot Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ private void HandleSubscriptionApplied(SubscriptionEventContext ctx)
112112 // Get the world size from the config table and set up the arena
113113 var worldSize = Conn . Db . Config . Id . Find ( 0 ) . WorldSize ;
114114 SetupArena ( worldSize ) ;
115-
115+
116116 ctx . Reducers . EnterGame ( DefaultPlayerName ) ;
117117 }
118118
@@ -130,7 +130,8 @@ private void SetupArena(float worldSize)
130130 Name = "Background" ,
131131 Color = BackgroundColor ,
132132 Position = Vector2 . Zero ,
133- Polygon = polygon
133+ Polygon = polygon ,
134+ ZIndex = - 1000
134135 } ;
135136 background . AddChild ( new Polygon2D
136137 {
@@ -141,7 +142,7 @@ private void SetupArena(float worldSize)
141142 InvertBorder = BorderThickness ,
142143 Polygon = polygon
143144 } ) ;
144- AddChild ( background , @internal : InternalMode . Front ) ;
145+ AddChild ( background ) ;
145146
146147 AddChild ( new CameraController ( worldSize ) ) ;
147148 }
You can’t perform that action at this time.
0 commit comments