crystallpunk-14 / crystall-punk-14

A cooperative role-playing game about an expedition to the lands of Khorvaire. Based on the game Space Station 14.
https://discord.gg/Sud2DMfhCC
Other
22 stars 27 forks source link

[Fix] Do not ignite zero coordinates because of items inside containers. #292

Closed c4llv07e closed 1 week ago

c4llv07e commented 1 week ago

About the PR

Fixes #277 by ignoring the ignition caused by items inside container (in that issue there were logs inside bonfire).

Why / Balance

Items inside containers have zero coordinates, so we shouldn't use them in the fire spread system. Maybe we should somehow get map coordinates of the item.

Fixes #277