STRINGS for easier text management
This commit is contained in:
parent
8e2a2d08f0
commit
352ab75841
13 changed files with 140 additions and 112 deletions
|
|
@ -249,8 +249,8 @@ func _on_doors_closing(fast: bool = false):
|
|||
EventBus.doors_closed.emit(fast)
|
||||
|
||||
if people_in_elevator < THRESHOLD:
|
||||
_screen.show_loss("TOO FEW")
|
||||
EventBus.game_lost.emit("TOO FEW")
|
||||
_screen.show_loss("")
|
||||
EventBus.game_lost.emit(Strings.LOSS_TOO_FEW)
|
||||
return
|
||||
|
||||
var base_points = people_in_elevator * POINTS_PER_PERSON
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue