MSUTeam / MSU

Modding Standards and Utilities for Battle Brothers
21 stars 4 forks source link

perf: remove redundant typeof instance check from various functions #352

Closed LordMidas closed 3 months ago

LordMidas commented 4 months ago

Sorry I really should've done this with the recent #350 but after having merged that I realized I should do a sweep of this thing in the entire codebase and found a few more occurrences that can be improved. Hence this PR.