diff --git a/code/modules/cargo/packs/gun.dm b/code/modules/cargo/packs/gun.dm
index c91ce71aecf2..27d0ec259ebb 100644
--- a/code/modules/cargo/packs/gun.dm
+++ b/code/modules/cargo/packs/gun.dm
@@ -7,8 +7,8 @@
 	. = ..()
 	if(!start_empty)
 		return .
-	for(var/obj/item/gun/G in C.contents)
-		G.set_empty()
+	for(var/obj/item/gun/thegun in C.contents)
+		thegun.set_empty()
 
 /*
 		Pistols