If only some sort of newfangled technology could come along

  • funkless_eck@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 month 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)