Eclipse-Station / NEV-Northern-Light

Congratulations, [employee name here]! You have greatly advanced the expedition effort. You must be the pride of [employee hometown name here]! NanoTrasen commends your usefulness to the Corporation.
https://discord.gg/xuS4t9U
Other
8 stars 55 forks source link

Fixes Zoom Factor Runtime #1771

Closed GeneriedJenelle closed 2 months ago

GeneriedJenelle commented 2 months ago

About The Pull Request

Just a unrelated bug I noticed was in this codebase for some reason that was causing the integration tests to fail. I have done a fix on it.

[20:00:18] Runtime in gun.dm,169: Cannot execute 0.Copy().
  proc name: Initialize (/obj/item/gun/Initialize)
  src: the HM LHG M \"Mao\" (/obj/item/gun/energy/gun/mao)
  src.loc: the military supply closet (/obj/structure/closet/random/milsupply)
  call stack:
  the HM LHG M \"Mao\" (/obj/item/gun/energy/gun/mao): Initialize(1)
  the HM LHG M \"Mao\" (/obj/item/gun/energy/gun/mao): Initialize(1)
  Atoms (/datum/controller/subsystem/atoms): InitAtom(the HM LHG M \"Mao\" (/obj/item/gun/energy/gun/mao), 0, /list (/list))
  the HM LHG M \"Mao\" (/obj/item/gun/energy/gun/mao): New(1)
  the random normal gun (/obj/spawner/gun/normal): spawn item()
  the random normal gun (/obj/spawner/gun/normal): Initialize(1, 1, /list (/list))
  Atoms (/datum/controller/subsystem/atoms): InitAtom(the random normal gun (/obj/spawner/gun/normal), 0, /list (/list))
  the random normal gun (/obj/spawner/gun/normal): New(1)
  the rare loot (/obj/spawner/pack/rare): spawn item()
  the rare loot (/obj/spawner/pack/rare): Initialize(1, 1, /list (/list))

Why It's Good For The Game

Should make integration tests work.

Testing

Changelog

:cl: fix: fixes the mao gun's zoom

/:cl: