mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 08:08:49 +01:00
Fixes revolver reloading, again (#91414)
## About The Pull Request Closes #91110, broke due to lazyloaded bullets being considered empty This needs a unit test, maybe will write one later in a separate PR ## Changelog 🆑 fix: Fixed revolver reloading, again /🆑
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
|
||||
for(var/i in 1 to stored_ammo.len)
|
||||
var/obj/item/ammo_casing/bullet = stored_ammo[i]
|
||||
if (istype(bullet) && bullet.loaded_projectile)
|
||||
if (!istype(bullet) || bullet.loaded_projectile)
|
||||
continue
|
||||
// found a spent ammo
|
||||
stored_ammo[i] = R
|
||||
|
||||
Reference in New Issue
Block a user