mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-18 11:36:24 +01:00
[MIRROR] Fixes exploit that allowed players to disable the safety of holodeck consoles without the proper conditions being followed [MDB IGNORE] (#9235)
* Fixes exploit that allowed players to disable the safety of holodeck consoles without the proper conditions being followed (#62563) About The Pull Request As the title says. Players were able to disable the safety of the holodeck without the console being emagged, and without being a robot. Why It's Good For The Game I think it would be interesting to add some sort of replacement to this, like players with high gamer skill could disable the safety. Changelog cl fix: Fixes an exploit that allowed players to disable holodeck safety without following the proper conditions /cl * Fixes exploit that allowed players to disable the safety of holodeck consoles without the proper conditions being followed Co-authored-by: CocaColaTastesGood <47264839+CocaColaTastesGood@users.noreply.github.com>
This commit is contained in:
@@ -170,6 +170,8 @@ GLOBAL_LIST_INIT(typecache_holodeck_linked_floorcheck_ok, typecacheof(list(/turf
|
||||
if(program_to_load)
|
||||
load_program(program_to_load)
|
||||
if("safety")
|
||||
if (!(obj_flags & EMAGGED) || !issilicon(usr))
|
||||
return
|
||||
if((obj_flags & EMAGGED) && program)
|
||||
emergency_shutdown()
|
||||
nerf(obj_flags & EMAGGED,FALSE)
|
||||
|
||||
Reference in New Issue
Block a user