mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-05-30 01:02:00 +08:00
- added link to doublespeak
- added cross-promotion event for Penrose - removed dead Dropbox code
This commit is contained in:
+10
-1
@@ -21,7 +21,8 @@ var Events = {
|
||||
Events.EventPool = [].concat(
|
||||
Events.Global,
|
||||
Events.Room,
|
||||
Events.Outside
|
||||
Events.Outside,
|
||||
Events.Marketing
|
||||
);
|
||||
|
||||
Events.eventStack = [];
|
||||
@@ -995,6 +996,14 @@ var Events = {
|
||||
Notifications.notify(null, info.notification);
|
||||
}
|
||||
|
||||
info.onClick && info.onClick();
|
||||
|
||||
// Link
|
||||
if (info.link) {
|
||||
Events.endEvent();
|
||||
window.open(info.link);
|
||||
}
|
||||
|
||||
// Next Scene
|
||||
if(info.nextScene) {
|
||||
if(info.nextScene == 'end') {
|
||||
|
||||
Reference in New Issue
Block a user