mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-30 15:36:21 +01:00
Merge pull request #1652 from VOREStation/aro-dviewpatch
Restore dview mob when it's gone
This commit is contained in:
@@ -1264,6 +1264,10 @@ var/mob/dview/dview_mob = new
|
||||
if(!center)
|
||||
return
|
||||
|
||||
if(!dview_mob) //VOREStation Add - Emergency Backup
|
||||
dview_mob = new()
|
||||
WARNING("dview mob was lost, and had to be recreated!")
|
||||
|
||||
dview_mob.loc = center
|
||||
|
||||
dview_mob.see_invisible = invis_flags
|
||||
|
||||
Reference in New Issue
Block a user