Prikoliki

This commit is contained in:
Rendo 2025-12-14 15:52:38 +05:00
commit 66fbad750c
22 changed files with 11192 additions and 42 deletions

View file

@ -53,6 +53,8 @@ func can_add(slot: StringName) -> bool:
func add(state: WeaponSubStateMachine, slot: StringName) -> void:
if not multiplayer.is_server():
return
if slot == "ability":
slot = get_empty_ability_slot()
if can_add(slot) == false:
return