Small refactor
Small refactor

Was working on my side-project, stole a bit of code and noticed something I could change.

naegelejd/ark,dansawkins/ark,8l/ark-c,8l/ark-c,naegelejd/ark,naegelejd/ark,dansawkins/ark,8l/ark-c