mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-05 10:29:39 +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);
|
VertexLightMap2D *map = memnew(VertexLightMap2D);
|
||||||
RID rid = map_owner.make_rid(map);
|
RID rid = map_owner.make_rid(map);
|
||||||
map->self = rid;
|
map->self = rid;
|
||||||
|
map->quadrant_size = _default_quadrant_size;
|
||||||
return rid;
|
return rid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user