mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +01:00
Mass-replacement of stat to machine_stat (#48758)
Living and machine stat vars are pretty different, one uses flags and other number-defines. This should make some other mass-replacements and searches a bit easier.
This commit is contained in:
@@ -79,7 +79,7 @@
|
||||
|
||||
if(!opcomputer)
|
||||
return
|
||||
if(opcomputer.stat & (NOPOWER|BROKEN))
|
||||
if(opcomputer.machine_stat & (NOPOWER|BROKEN))
|
||||
return .
|
||||
if(replaced_by in opcomputer.advanced_surgeries)
|
||||
return FALSE
|
||||
|
||||
Reference in New Issue
Block a user