mirror of
https://github.com/IvarK/AntimatterDimensionsSourceCode.git
synced 2024-11-10 14:12:02 +00:00
add confirmation to startrealityover
This commit is contained in:
parent
5b3ba19e1e
commit
4621a25828
@ -2396,7 +2396,7 @@
|
||||
<button id="realitymachine" onclick="reality()">Make a new reality
|
||||
<br>Machines gained: 1
|
||||
<br>Glyph level: 1</button>
|
||||
<button onclick="startRealityOver()">Start reality over (without gaining anything (no confirmation))</button>
|
||||
<button onclick="startRealityOver()">Start reality over (without gaining anything)</button>
|
||||
<br>
|
||||
<br>
|
||||
<button class="realityUpgrade" onclick="toggleGlyphRespec()" id="glyphRespec" style="width:150px; height: 40px; margin: auto">Clear glyph slots on Reality</button>
|
||||
|
@ -294,7 +294,9 @@ function unlockRealityUpgrade(id) {
|
||||
}
|
||||
|
||||
function startRealityOver() {
|
||||
glyphSelected = true
|
||||
realizationCheck = 1
|
||||
reality(true, true)
|
||||
if(confirm("This will put you at the start of your reality and reset your progress in this reality. Are you sure you want to do this?")) {
|
||||
glyphSelected = true
|
||||
realizationCheck = 1
|
||||
reality(true, true)
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user