Skip to content

Commit

Permalink
whar
Browse files Browse the repository at this point in the history
  • Loading branch information
FalloutFalcon committed Oct 10, 2024
1 parent 54ecf56 commit a6f064d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions code/modules/unit_tests/gun_sanity.dm
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/datum/unit_test/gun_sanity/Run()
for(var/gun_path in subtypesof(/obj/item/gun))
var/obj/item/gun/target_gun = gun_path
target_gun = new()
var/obj/item/gun/target_gun = new gun_path()
log_test("Testing [target_gun.type]")
if(target_gun.default_ammo_type)
TEST_ASSERT(ispath(target_gun.default_ammo_type), "The default ammo in [target_gun.type] is not a type")
Expand Down

0 comments on commit a6f064d

Please sign in to comment.