mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 00:29:02 +01:00
Fixes holster override (#5693)
## About The Pull Request Fixes the override that already existed for the holster, making it actually do what it was intended to. The call was mis formatted so that it was being misinterpreted and never actually applied. ## Why It's Good For The Game fix good ## Proof Of Testing I did indeed test on localhost. <details> <summary>Screenshots/Videos</summary> </details> ## Changelog 🆑 UvvU fix: fixed shoulder holster having wrong holdables list /🆑
This commit is contained in:
@@ -659,7 +659,7 @@
|
||||
max_slots = 3
|
||||
max_total_storage = 16
|
||||
|
||||
/datum/storage/holster/New(atom/parent, max_slots, max_specific_storage, max_total_storage, list/holdables)
|
||||
/datum/storage/holster/New(atom/parent, max_slots, max_specific_storage, max_total_storage, rustle_sound, remove_rustle_sound, list/holdables)
|
||||
if(length(holdables))
|
||||
return ..()
|
||||
|
||||
@@ -690,7 +690,7 @@
|
||||
/datum/storage/holster/detective
|
||||
max_slots = 4
|
||||
|
||||
/datum/storage/holster/detective/New(atom/parent, max_slots, max_specific_storage, max_total_storage, list/holdables)
|
||||
/datum/storage/holster/detective/New(atom/parent, max_slots, max_specific_storage, max_total_storage, rustle_sound, remove_rustle_sound, list/holdables)
|
||||
if(length(holdables))
|
||||
return ..()
|
||||
|
||||
@@ -717,7 +717,7 @@
|
||||
/datum/storage/holster/energy
|
||||
max_specific_storage = WEIGHT_CLASS_NORMAL
|
||||
|
||||
/datum/storage/holster/energy/New(atom/parent, max_slots, max_specific_storage, max_total_storage, list/holdables)
|
||||
/datum/storage/holster/energy/New(atom/parent, max_slots, max_specific_storage, max_total_storage, rustle_sound, remove_rustle_sound, list/holdables)
|
||||
if(length(holdables))
|
||||
return ..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user