Comment on

<- View Parent
funkless_eck@sh.itjust.works ⁨2⁩ ⁨days⁩ ago

hey now but what if I want my code to be like

 if gun.is_valid and not gun == null and gun.id != null:
        shoot()

  func shoot():
         fire(gun):


    func fire(gun):
          if gun.is_valid and not gun == null and gun.id != null:
                   weapon_activate(gun)

source
Sort:hotnewtop