more hub tweaks
This commit is contained in:
@@ -37,7 +37,7 @@ func money_penalty():
|
||||
|
||||
func weapon_penalty():
|
||||
var level_control = get_tree().current_scene
|
||||
|
||||
GameGlobals.ammo_reserve = {}
|
||||
match level_control.gamemode.weapon_penalty:
|
||||
0: #Drop All
|
||||
GameGlobals.held_guns = []
|
||||
|
||||
@@ -50,6 +50,8 @@ func _ready() -> void:
|
||||
SignalBus.player_hit.connect(player_hit)
|
||||
SignalBus.shot_fired.connect(crosshair_size_change)
|
||||
|
||||
money_count = GameGlobals.money
|
||||
|
||||
health_bar.max_value = level_control.gamemode.start_health
|
||||
|
||||
health_bar_start_pos = health_bar.position
|
||||
|
||||
Reference in New Issue
Block a user