I've learned nothing

This commit is contained in:
ScrawnyRonnie 2023-10-25 11:20:40 -04:00 committed by GitHub
parent 0602dd652a
commit d41ab8e718
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,7 +47,7 @@ class Terminal(tdef: TerminalDefinition) extends Amenity with Hackable {
* @return an actionable message that explains what resulted from interacting with this `Terminal`
*/
def Request(player: Player, msg: Any): Terminal.Exchange = {
if (Faction == player.Faction || HackedBy.isDefined || Owner.GUID == PlanetSideGUID(0) || Owner.GUID == null) {
if (Faction == player.Faction || HackedBy.isDefined || Owner.GUID == PlanetSideGUID(0)) {
tdef.Request(player, msg)
} else {
Terminal.NoDeal()