oakmound / oak

A pure Go game engine
Apache License 2.0
1.55k stars 83 forks source link

entities: Nil guard against unset renderables #213

Closed Implausiblyfun closed 2 years ago

Implausiblyfun commented 2 years ago

Previously there were some cases where we could access a nil pointer in entities.

codecov-commenter commented 2 years ago

Codecov Report

Merging #213 (79e987f) into master (aa57f92) will decrease coverage by 0.06%. The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #213      +/-   ##
==========================================
- Coverage   95.02%   94.95%   -0.07%     
==========================================
  Files         143      143              
  Lines        6346     6346              
==========================================
- Hits         6030     6026       -4     
- Misses        285      288       +3     
- Partials       31       32       +1     
Impacted Files Coverage Δ
shape/condense.go 93.75% <0.00%> (-6.25%) :arrow_down:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more