update servicepoint to branch with better codegen
This commit is contained in:
parent
4fad4612b7
commit
416c8f2165
5 changed files with 24 additions and 10 deletions
|
@ -42,7 +42,7 @@ internal sealed class MapService
|
|||
if (!_mapPrototypes.TryGetValue(name, out var prototype))
|
||||
return false; // name not found
|
||||
|
||||
pixelGrid = Bitmap.New(PixelsPerRow, PixelsPerColumn);
|
||||
pixelGrid = new Bitmap(PixelsPerRow, PixelsPerColumn);
|
||||
DrawMapStep.Draw(pixelGrid, prototype.CreateInstance());
|
||||
|
||||
_mapPreviews.TryAdd(name, pixelGrid); // another thread may have added the map already
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue