Skip to content

Commit

Permalink
Save gaines gold after playing a game.
Browse files Browse the repository at this point in the history
Update export presets.
  • Loading branch information
V-ktor committed Jul 3, 2018
1 parent f68ce25 commit 51b6055
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
14 changes: 7 additions & 7 deletions export_presets.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ patch_list=PoolStringArray( )
texture_format/s3tc=true
texture_format/etc=false
texture_format/etc2=false
binary_format/64_bits=false
binary_format/64_bits=true
custom_template/release=""
custom_template/debug=""
application/icon="/home/viktor/Godot3/gc/icon.ico"
application/file_version="0.1"
application/product_version="0.1"
application/file_version="0.2"
application/product_version="0.2"
application/company_name=""
application/product_name="Caliditas Extrema"
application/product_name="Caliditas"
application/file_description=""
application/copyright=""
application/trademarks=""
Expand Down Expand Up @@ -61,13 +61,13 @@ patch_list=PoolStringArray( )

custom_package/debug=""
custom_package/release=""
application/name="Caliditas Extrema"
application/name="Caliditas"
application/info="Made with Godot Engine"
application/icon="res://icon.png"
application/identifier="org.godotengine.macgame"
application/signature="godotmacgame"
application/short_version="0.1"
application/version="0.1"
application/short_version="0.2"
application/version="0.2-alpha"
application/copyright=""
application/bits_mode=0
display/high_res=false
Expand Down
1 change: 1 addition & 0 deletions scripts/menu/menu.gd
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ func game_over(victory,error=""):
get_node("GameOver/Text").set_text(tr("YOU_LOST")+"\n"+tr("REWARD_GAINED")%reward)
gold += reward
get_node("GameOver").popup_centered()
save_inventory()
UI.hide()
Main.hide()
show()
Expand Down

0 comments on commit 51b6055

Please sign in to comment.