mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-03 09:29:38 +01:00
Properly initialize the quadrant size of maps.
This commit is contained in:
parent
fa68cf6872
commit
6762e597e6
@ -48,6 +48,7 @@ RID VertexLights2DServer::map_create() {
|
||||
VertexLightMap2D *map = memnew(VertexLightMap2D);
|
||||
RID rid = map_owner.make_rid(map);
|
||||
map->self = rid;
|
||||
map->quadrant_size = _default_quadrant_size;
|
||||
return rid;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user