mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-06-28 23:32:30 +08:00
Leave outfit in place
It seems counterintuitive for players that, if the game is closed while exploring, everything remains unchanged but supplies are lost. I had to choose between cooling down Embark, thus making it explicit that it's as if the player had died, or leave supplies in place. I chose the latter.
This commit is contained in:
@@ -302,7 +302,6 @@ var Path = {
|
|||||||
for(var k in Path.outfit) {
|
for(var k in Path.outfit) {
|
||||||
$SM.add('stores["'+k+'"]', -Path.outfit[k]);
|
$SM.add('stores["'+k+'"]', -Path.outfit[k]);
|
||||||
}
|
}
|
||||||
$SM.remove('outfit');
|
|
||||||
World.onArrival();
|
World.onArrival();
|
||||||
$('#outerSlider').animate({left: '-700px'}, 300);
|
$('#outerSlider').animate({left: '-700px'}, 300);
|
||||||
Engine.activeModule = World;
|
Engine.activeModule = World;
|
||||||
|
|||||||
Reference in New Issue
Block a user