All persons acting under the provisions of this code, whether a member of the military or a civilian, shall be immune from any personal liability for any of the acts or omissions that such person did or failed to do as part of such person's duties under this code.
K.S.A. 48-3109