All items and structures have to define a sourcerect for the sprite because otherwise the dedicated server won't know the size of the entity. Closes #321

This commit is contained in:
Joonas Rikkonen
2018-03-06 13:55:30 +02:00
parent 0ab4521a7a
commit 8e8b8464af
16 changed files with 36 additions and 36 deletions
@@ -68,7 +68,7 @@
<Item name="Uranium Bar" mincondition="0.9"/>
</Deconstruct>
<Sprite texture ="fuelrod.png" depth="0.55"/>
<Sprite texture="fuelrod.png" depth="0.55" sourcerect="0,0,8,39"/>
<Body radius="6" height="22" density="5"/>
@@ -86,7 +86,7 @@
<Item name="Incendium Bar" mincondition="0.95"/>
</Deconstruct>
<Sprite texture ="fuelrod.png" depth="0.55"/>
<Sprite texture ="fuelrod.png" depth="0.55" sourcerect="0,0,8,39"/>
<Body radius="6" height="22" density="5"/>