Comments (1)
diff --git a/src/scenario.cpp b/src/scenario.cpp
index 02afd86acf8..ae6184c01fd 100644
--- a/src/scenario.cpp
+++ b/src/scenario.cpp
@@ -111,7 +111,7 @@ void scenario::load( const JsonObject &jo, const std::string_view )
if( !was_loaded ) {
int _start_of_cataclysm_hour = 0;
- int _start_of_cataclysm_day = 61;
+ int _start_of_cataclysm_day = 1 + get_option<int>( "SEASON_LENGTH" ) / 3 * 2;
season_type _start_of_cataclysm_season = SPRING;
int _start_of_cataclysm_year = 1;
if( jo.has_member( "start_of_cataclysm" ) ) {
@@ -129,7 +129,7 @@ void scenario::load( const JsonObject &jo, const std::string_view )
;
int _start_of_game_hour = 8;
- int _start_of_game_day = 61;
+ int _start_of_game_day = 1 + get_option<int>( "SEASON_LENGTH" ) / 3 * 2;
from cataclysm-dda.
Related Issues (20)
- constructing a standing tank with filled 60L tanks voids the contents HOT 3
- Mission window is needlesly small when screen is small
- matchhead bullets should be using potassium chlorate and not red phosphorus HOT 1
- Item in container not visible from [i]nventory, cannot be called by its designated letter HOT 3
- Game tends to crash when speaking to NPC's HOT 3
- Tripoint error when starting Splintered Reality
- Crash when deconstructing brazier
- cramped vehicles HOT 2
- Moving in an inactive exoskeleton is less exerting than moving in powered medium or light exoskeletons HOT 2
- npc drive carοΌ HOT 1
- Game crashes when attempting to collect quest reward from follower NPC HOT 1
- Grenade from disarmed booby trap wont explode HOT 1
- [MoM] Mood stabilization working bad. HOT 1
- [MoM] Strange chances of succes for powers. HOT 7
- Mobile terminal issue (again) HOT 2
- Dinosaur engines need more horsepower
- Allow the player to enter an overmap location into the Mission UI under a new tab
- Volume multiplier and TARDIS on carried containers are not respected with regards to vehicle room HOT 1
- Exception "is_sm_tile_outside(): couldn't find submap(...)"
- You can cheat the heat mechanic of mechsuits by exiting and reentering
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cataclysm-dda.